Xcodebuild throws assert failures after successful build?
- by Derek Clarkson
Hi all, I'me getting the following after building from he command line using xcodebuild, ay ideas what might be wrong?
** BUILD SUCCEEDED **
2010-06-06 20:20:12.916 xcodebuild[8267:80b] [MT] ASSERTION FAILURE in    
/SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/Target.subproj/PBXTarget.m:597
Details:  Assertion failed: (nil == _buildContext) || (nil == [_buildContext target])
Object:   <PBXLegacyTarget:0x104b97370>
Method:   -dealloc
Thread:   <NSThread: 0x100b141a0>{name = (null), num = 1}
Backtrace:
  0  0x000000010035feaf -[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
  1  0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
  2  0x00000001002790d1 -[PBXTarget dealloc] (in DevToolsCore)
  3  0x00000001002911e8 -[PBXLegacyTarget dealloc] (in DevToolsCore)
  4  0x00000001002c5b16 -[PBXTargetBookmark dealloc] (in DevToolsCore)
  5  0x00007fff8224ff71 __CFBasicHashStandardCallback (in CoreFoundation)
  6  0x00007fff82250931 __CFBasicHashDrain (in CoreFoundation)
  7  0x00007fff822396b3 _CFRelease (in CoreFoundation)
  8  0x0000000100254171 -[PBXProject dealloc] (in DevToolsCore)
  9  0x00007fff82262d56 _CFAutoreleasePoolPop (in CoreFoundation)
 10  0x00007fff841b530c -[NSAutoreleasePool drain] (in Foundation)
 11  0x000000010000c60d
 12  0x00000001000014f4
** INTERNAL ERROR: Uncaught Exception **
Exception: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/Target.subproj/PBXTarget.m:597
Details:  Assertion failed: (nil == _buildContext) || (nil == [_buildContext target])
Object:   <PBXLegacyTarget:0x104b97370>
Method:   -dealloc
Thread:   <NSThread: 0x100b141a0>{name = (null), num = 1}
Backtrace:
  0  0x000000010035feaf -[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
  1  0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
  2  0x00000001002790d1 -[PBXTarget dealloc] (in DevToolsCore)
  3  0x00000001002911e8 -[PBXLegacyTarget dealloc] (in DevToolsCore)
  4  0x00000001002c5b16 -[PBXTargetBookmark dealloc] (in DevToolsCore)
  5  0x00007fff8224ff71 __CFBasicHashStandardCallback (in CoreFoundation)
  6  0x00007fff82250931 __CFBasicHashDrain (in CoreFoundation)
  7  0x00007fff822396b3 _CFRelease (in CoreFoundation)
  8  0x0000000100254171 -[PBXProject dealloc] (in DevToolsCore)
  9  0x00007fff82262d56 _CFAutoreleasePoolPop (in CoreFoundation)
 10  0x00007fff841b530c -[NSAutoreleasePool drain] (in Foundation)
 11  0x000000010000c60d
 12  0x00000001000014f4
Stack:
  0  0x00007fff822ded06 __exceptionPreprocess (in CoreFoundation)
  1  0x00007fff832470f3 objc_exception_throw (in libobjc.A.dylib)
  2  0x00007fff823369b9 -[NSException raise] (in CoreFoundation)
  3  0x000000010035ff6a -[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
  4  0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
  5  0x00000001002790d1 -[PBXTarget dealloc] (in DevToolsCore)
  6  0x00000001002911e8 -[PBXLegacyTarget dealloc] (in DevToolsCore)
  7  0x00000001002c5b16 -[PBXTargetBookmark dealloc] (in DevToolsCore)
  8  0x00007fff8224ff71 __CFBasicHashStandardCallback (in CoreFoundation)
  9  0x00007fff82250931 __CFBasicHashDrain (in CoreFoundation)
 10  0x00007fff822396b3 _CFRelease (in CoreFoundation)
 11  0x0000000100254171 -[PBXProject dealloc] (in DevToolsCore)
 12  0x00007fff82262d56 _CFAutoreleasePoolPop (in CoreFoundation)
 13  0x00007fff841b530c -[NSAutoreleasePool drain] (in Foundation)
 14  0x000000010000c60d
 15  0x00000001000014f4
Abort trap