-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Can the event "Create directory..." be removed from the start of targets? #148
Comments
I'm seeing this issue as well. The timelines overlap. |
I don't think We ended up filtering out the following
and recomputing the target build timestamps from the remaining |
@Biboran Could you share how you went about filtering those substeps? I don't see any option in |
@CraigSiemens I'll take a look at it. Just to clarify, are you using the new build system or the legacy one? Does your project only contains Swift code or do you have Objective-C as well? |
@ecamacho I am seeing this issue as well.
For some reason when doing a clean build I am getting almost 15K different targets in the report, which makes the timeline unreadable. Looking into the
Am I doing something wrong when generating the report? |
I tried looking at the dump output (I don't really know wha I'm looking for) but it seems like it's these two subsections that are added for every target at the very start of the build. {
"sectionType" : 2,
"unknown" : 0,
"timeStartedRecording" : 666294631.747679,
"subtitle" : "",
"timeStoppedRecording" : 666294631.748016,
"messages" : [
],
"wasFetchedFromCache" : false,
"title" : "Create directory Headers",
"domainType" : "com.apple.dt.IDE.BuildLogSection",
"signature" : "MkDir \/Users\/neo\/Library\/Developer\/Xcode\/DerivedData\/Neo-hiuevzrflvndutcilgcszphwztqy\/Build\/Products\/Local-iphonesimulator\/NeoCore.framework\/Headers (in target 'NeoCore' from project 'Neo')",
"isQuiet" : false,
"text" : "",
"subSections" : [
],
"location" : {
"documentURLString" : "",
"timestamp" : 0
},
"commandDetailDesc" : "MkDir \/Users\/neo\/Library\/Developer\/Xcode\/DerivedData\/Neo-hiuevzrflvndutcilgcszphwztqy\/Build\/Products\/Local-iphonesimulator\/NeoCore.framework\/Headers (in target 'NeoCore' from project 'Neo')\r cd \/Users\/neo\/Developer\/neo\/neo-ios\r \/bin\/mkdir -p \/Users\/neo\/Library\/Developer\/Xcode\/DerivedData\/Neo-hiuevzrflvndutcilgcszphwztqy\/Build\/Products\/Local-iphonesimulator\/NeoCore.framework\/Headers\r",
"uniqueIdentifier" : "77041C0A-AAC2-42BA-A34D-95B34A15CFC4",
"wasCancelled" : false,
"localizedResultString" : "",
"xcbuildSignature" : "3835653266323330343763323965316534363365646133363130306639653238"
},
{
"sectionType" : 2,
"unknown" : 0,
"timeStartedRecording" : 666294631.74784195,
"subtitle" : "",
"timeStoppedRecording" : 666294631.74799395,
"messages" : [
],
"wasFetchedFromCache" : false,
"title" : "Create directory NeoCore.framework",
"domainType" : "com.apple.dt.IDE.BuildLogSection",
"signature" : "MkDir \/Users\/neo\/Library\/Developer\/Xcode\/DerivedData\/Neo-hiuevzrflvndutcilgcszphwztqy\/Build\/Products\/Local-iphonesimulator\/NeoCore.framework (in target 'NeoCore' from project 'Neo')",
"isQuiet" : false,
"text" : "",
"subSections" : [
],
"location" : {
"documentURLString" : "",
"timestamp" : 0
},
"commandDetailDesc" : "MkDir \/Users\/neo\/Library\/Developer\/Xcode\/DerivedData\/Neo-hiuevzrflvndutcilgcszphwztqy\/Build\/Products\/Local-iphonesimulator\/NeoCore.framework (in target 'NeoCore' from project 'Neo')\r cd \/Users\/neo\/Developer\/neo\/neo-ios\r \/bin\/mkdir -p \/Users\/neo\/Library\/Developer\/Xcode\/DerivedData\/Neo-hiuevzrflvndutcilgcszphwztqy\/Build\/Products\/Local-iphonesimulator\/NeoCore.framework\r",
"uniqueIdentifier" : "83AE19FF-8766-4ED0-9A98-C7F692321462",
"wasCancelled" : false,
"localizedResultString" : "",
"xcbuildSignature" : "3432353337613638613139663638303161343032646437393136623862346138"
}, |
I tried this out a couple of months ago and it was correctly showing the start and stop times of each target.
I just tried again today and for some reason it's reporting all targets starting at the same time.
Each target is now starting with a
Create directory Target.framework
andCreate directory Headers
step that happens when the build starts. Then there's a long period of inactivity before the target actually starts building.As far was I can tell, both builds were done with Xcode 12.5.1 and no build settings have changed that should affect that. But XCLogParser hasn't had an update so it's unlikely to be a cause of the change in behaviour.
Any recommendations for build settings I can look at that could be causing this?
The text was updated successfully, but these errors were encountered: