• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
xcodebuild "assertion failed" errors, can't build working project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xcodebuild "assertion failed" errors, can't build working project


  • Subject: xcodebuild "assertion failed" errors, can't build working project
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 8 Dec 2005 13:18:41 -0500
  • Organization: Rogue Research

Hi all,

I have an xcode 2.2 project that opens and builds fine with Xcode.app,
but if i try 'xcodebuild' in Terminal it always fails, even invoking a
simple 'xcodebuild clean'.

Is there anything I can do to get this working?  Here is the gory details:

Thanks,


sean$ xcodebuild clean
=== CLEANING NATIVE TARGET Frameless WITH THE DEFAULT CONFIGURATION
(Debug) ===

Checking Dependencies...
2005-12-08 13:15:08.842 xcodebuild[1446] [IT] ASSERTION FAILURE in /
SourceCache/DevToolsBase/DevToolsBase-658/pbxcore/PBXProject.m:1781
(object=<PBXProject:0x01346d60>, sele
ctor=expandedValueForString:forConfigurationNamed:): Assertion failed:
[NSThread currentThread] == [NSThread mainThread]
  0  0x95740d5c  -[PBXTargetBuildContext(DependencyGraphEvents)
handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:]
  1  0x9577f614  __XCAssertionFailureHandler
  2  0x955e6e50  -[PBXProject expandedValueForString:forConfigurationNamed:]
  3  0x955e6bc8  -[PBXReference _eval
uatedPathForSourceTree:appendPathWhenExpanded:]
  4  0x955cb1a4  -[PBXReference absolutePath]
  5  0x9560225c  -[PBXReference(BuildSupport) unexpandedFullPath]
  6  0x95740ae4  -[PBXReference(BuildSupport)
absolutePathForExpansionContext:]
  7  0x9573dc34  -[PBXTargetBuildContext searchPathsForRez]
  8  0x95763224  -[PBXCompilerSpecificationRez
computeDependenciesForFilePath:ofType:outputDirectory:inTargetBuildContext:]
  9  0x9561d3c4  -[XCBuildRuleDGSnapshot
computeDependenciesForFilePath:ofType
:forBuildFileReference:withOutputDirectory:inTargetBuildContext:]
 10  0x956f056c  -[XCRezBuildPhaseDGSnapshot
computeDependenciesForFilePath:ofType
:forBuildFileReference:usingBuildRule:inTargetBuildContext:]
 11  0x956f0b0c  -[XCRezBuildPhaseDGSnapshot
computeDependenciesForBuildFileReference:inTargetBuildContext:]
 12  0x95615df4  -[XCBuildPhaseDGSnapshot
computeDependenciesForAllBuildFileReferencesInTargetBuildContext:]
 13  0x956ac38c  -[XCRezBuildPhaseDGSnapshot
computeDependenciesInTargetBuildContext:]
 14  0x9560c520  -[XCProductTypeSpecification
computeDependenciesInTargetBuildContext:]
 15  0x9560a028  -[XCNativeTargetDGSnapshot
computeDependenciesInTargetBuildContext:]
 16  0x956069c4  -[PBXTargetBuildContext
createDependencyGraphWithTargetDGSnapshot:]
 17  0x95605d58  -[PBXTargetBuildContext(DependencyGraphEvents)
dg_setTargetSnapshot:]
 18  0x909c4210  _objc_msgSendv
 19  0x928da1c4  -[NSInvocation invoke]
 20  0x956058c4  -[PBXTargetBuildContext(DependencyGraphEvents)
processDependencyGraphEvents]
 21  0x909c4210  _objc_msgSendv
 22  0x928da1c4  -[NSInvocation invoke]
 23  0x95604fa8  -[XCInvocationQueue _processInvocationsInThreadSlotNumber:]
 24  0x928de6d0  _forkThreadForFunction
 25  0x9002b1fc  __pthread_body
2005-12-08 13:15:08.861 xcodebuild[1446] [IT] Exception while creating
dependency graph for <context(0x63fa70:'Frameless'):1223 nodes (0 to
eval), 605 commands> (ignored):
ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-658/pbxcore/
PBXProject.m:1781 (object=<PBXProject:0x01346d60>,
selector=expandedValueForString:forConfigurationNamed:): Assertion
failed: [NSThread currentThread] == [NSThread mainThread]
2005-12-08 13:15:12.001 xcodebuild[1446] ASSERTION FAILURE in /
SourceCache/DevToolsBase/DevToolsBase-658/pbxcore/Target.subproj/
PBXTarget.m:5665 (object=<PBXNativeTarget:0x013feff0>,
selector=workQueueForBuildingWithBuildOperation:): headermap should be
an instance inheriting from PBXHeaderMap, but it is nil
Exception occurred while starting build: ASSERTION FAILURE in /
SourceCache/DevToolsBase/DevToolsBase-658/pbxcore/Target.subproj/
PBXTarget.m:5665 (object=<PBXNativeTarget:0x013feff0>,
selector=workQueueForBuildingWithBuildOperation:): headermap should be
an instance inheriting from PBXHeaderMap, but it is nil
** CLEAN SUCCEEDED **


--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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

  • Prev by Date: How do I get dependent unit tests to work for non-framework projects?
  • Next by Date: Re: How do I get dependent unit tests to work for non-framework projects?
  • Previous by thread: Re: How do I get dependent unit tests to work for non-framework projects?
  • Next by thread: virtual method hidden
  • Index(es):
    • Date
    • Thread