Re: xcodebuild fails to "load dependencies output contents"
Re: xcodebuild fails to "load dependencies output contents"
- Subject: Re: xcodebuild fails to "load dependencies output contents"
- From: Michael Rawdon <email@hidden>
- Date: Tue, 11 Mar 2014 11:35:28 -0700
Hi Jerry -On Mar 10, 2014, at 8:42 AM, Jerry Krinock < email@hidden> wrote: I use xcodebuild for Release builds of my non-Mac-App-Store product. Suddenly it is failing to compile two source files, and scrolling up in the output I see this is apparently caused by “Failed to load dependencies output contents”. Here is one of them:
*** <transcript snippet>
2014-03-10 07:43:23.987 xcodebuild[3872:30b] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78 Details: Failed to load dependencies output contents from ``/Users/jk/Dev/Projects/BkmkMgrs/build/BkmkMgrs.build/Release/Bkmxwork.build/Objects-normal/x86_64/BkmxBasis.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “BkmxBasis.d” couldn’t be opened because there is no such file." UserInfo=0x7fa445375b50 {NSFilePath=/Users/jk/Dev/Projects/BkmkMgrs/build/BkmkMgrs.build/Release/Bkmxwork.build/Objects-normal/x86_64/BkmxBasis.d, NSUnderlyingError=0x7fa4453c8580 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/Users/jk/Dev/Projects/BkmkMgrs/build/BkmkMgrs.build/Release/Bkmxwork.build/Objects-normal/x86_64/BkmxBasis.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; }. Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>] Thread: <NSThread: 0x7fa4453aefb0>{name = (null), num = 7} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
*** </transcript snippet>
Indeed that BkmxBasis.d file is not there. Its parent directory includes intermediate build files for about 10 source code files in the project. For 8 of the source code files, there is a trio of files, “.d”, “.dia” and “.o”. But for the two source code files that failed, there is only the “.dia”; indeed the “.d” is missing and of course the “.o” is missing. (The project has over 500 source files. The 10 source files referred to in here all begin with “B”. I guess that maybe it skipped “A” for some reason, then quit trying after these two failed.)
The project still builds fine in Xcode, either Debug or Archive.
This message is just a warning (which it says in the message, albeit buried in the first line). It usually happens because that command or possibly some other command failed (causing Xcode to halt that command), and Xcode then tries to read dependency info from that command (or from other commands which have been cancelled). So, it’s a bug in Xcode. But it is harmless other than adding this extra verbiage to the build log.
In other words, this is not the cause of the build failure you’re seeing. It’s probably emitted somewhere else in that log, not reproduced in the log snippet above (but likely immediately nearby).
Michael Rawdon email@hidden Xcode Developer Apple Inc., Cupertino CA
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden