Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.3.2
-
None
Description
When building a Qt project with xcodebuild on Leopard with Xcode 3, the following crash happens in xcodebuild:
Reproducible with for example the examples/tutorial/t1:
- qmake -spec macx-xcode
- xcodebuild t1.xcodeproj
Crash:
xcodebuild t1.xcodeproj/
2007-11-16 13:11:34.191 xcodebuild[356:613] [MT] ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-921/pbxcore/FileTypes/PBXCFBundleWrapperFileType.m:174
Details: path should be a non-empty string, but it's an empty string
Object: <PBXApplicationWrapperFileType:0x02269860>
Method: -subpathForWrapperPart:ofPath:withExtraFileProperties:
Thread: <NSThread: 0xb06860>
Backtrace:
0 0x0076d138 -[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
1 0x0076cead _XCAssertionFailureHandler (in DevToolsCore)
2 0x005becfb -[PBXCFBundleWrapperFileType subpathForWrapperPart:ofPath:withExtraFileProperties:] (in DevToolsCore)
3 0x005beb50 -[PBXFileReference subpathForWrapperPart:] (in DevToolsCore)
4 0x005be7f8 -[XCCopyFilesBuildPhaseDGSnapshot initWithInformationFromBuildPhase:forTargetSnapshot:] (in DevToolsCore)
5 0x005bb6ce -[PBXBuildPhase createDependencyGraphSnapshotForTargetSnapshot:] (in DevToolsCore)
6 0x00071f8f -[NSArray(TSFoundationExtra) arrayByMakingObjectsPerformSelector:withObject:withObject:] (in DevToolsSupport)
7 0x00071d93 -[NSArray(TSFoundationExtra) arrayByMakingObjectsPerformSelector:withObject:] (in DevToolsSupport)
8 0x005b9e8b -[XCTargetDGSnapshot initWithInformationFromTarget:forBuildAction:configurationName:] (in DevToolsCore)
9 0x005b94ef -[XCNativeTargetDGSnapshot initWithInformationFromTarget:forBuildAction:configurationName:] (in DevToolsCore)
10 0x005b946d -[PBXTarget createDependencyGraphSnapshotForBuildAction:configurationName:] (in DevToolsCore)
11 0x005b92ba -[PBXTarget propagateTargetSnapshotIfNeeded] (in DevToolsCore)
12 0x0062ea2b -[PBXTarget(XCBuildables) prepareForBuildingWithBuildOperation:] (in DevToolsCore)
13 0x0062db02 -[XCBuildOperation setupBeforeRunning] (in DevToolsCore)
14 0x00005a77
15 0x0062d262 -[XCOperation run] (in DevToolsCore)
16 0x000068e5
17 0x000090a4
** INTERNAL ERROR: Uncaught Exception **
Exception: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-921/pbxcore/FileTypes/PBXCFBundleWrapperFileType.m:174
Details: path should be a non-empty string, but it's an empty string
Object: <PBXApplicationWrapperFileType:0x02269860>
Method: -subpathForWrapperPart:ofPath:withExtraFileProperties:
Thread: <NSThread: 0xb06860>{name = (null), num = 1}
Backtrace:
0 0x0076d138 -[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
1 0x0076cead _XCAssertionFailureHandler (in DevToolsCore)
2 0x005becfb -[PBXCFBundleWrapperFileType subpathForWrapperPart:ofPath:withExtraFileProperties:] (in DevToolsCore)
3 0x005beb50 -[PBXFileReference subpathForWrapperPart:] (in DevToolsCore)
4 0x005be7f8 -[XCCopyFilesBuildPhaseDGSnapshot initWithInformationFromBuildPhase:forTargetSnapshot:] (in DevToolsCore)
5 0x005bb6ce -[PBXBuildPhase createDependencyGraphSnapshotForTargetSnapshot:] (in DevToolsCore)
6 0x00071f8f -[NSArray(TSFoundationExtra) arrayByMakingObjectsPerformSelector:withObject:withObject:] (in DevToolsSupport)
7 0x00071d93 -[NSArray(TSFoundationExtra) arrayByMakingObjectsPerformSelector:withObject:] (in DevToolsSupport)
8 0x005b9e8b -[XCTargetDGSnapshot initWithInformationFromTarget:forBuildAction:configurationName:] (in DevToolsCore)
9 0x005b94ef -[XCNativeTargetDGSnapshot initWithInformationFromTarget:forBuildAction:configurationName:] (in DevToolsCore)
10 0x005b946d -[PBXTarget createDependencyGraphSnapshotForBuildAction:configurationName:] (in DevToolsCore)
11 0x005b92ba -[PBXTarget propagateTargetSnapshotIfNeeded] (in DevToolsCore)
12 0x0062ea2b -[PBXTarget(XCBuildables) prepareForBuildingWithBuildOperation:] (in DevToolsCore)
13 0x0062db02 -[XCBuildOperation setupBeforeRunning] (in DevToolsCore)
14 0x00005a77
15 0x0062d262 -[XCOperation run] (in DevToolsCore)
16 0x000068e5
17 0x000090a4
Stack:
0 0x9268d26b __raiseError (in CoreFoundation)
1 0x91e1b09b objc_exception_throw (in libobjc.A.dylib)
2 0x9268cd91 -[NSException raise] (in CoreFoundation)
3 0x0076cead _XCAssertionFailureHandler (in DevToolsCore)
4 0x005becfb -[PBXCFBundleWrapperFileType subpathForWrapperPart:ofPath:withExtraFileProperties:] (in DevToolsCore)
5 0x005beb50 -[PBXFileReference subpathForWrapperPart:] (in DevToolsCore)
6 0x005be7f8 -[XCCopyFilesBuildPhaseDGSnapshot initWithInformationFromBuildPhase:forTargetSnapshot:] (in DevToolsCore)
7 0x005bb6ce -[PBXBuildPhase createDependencyGraphSnapshotForTargetSnapshot:] (in DevToolsCore)
8 0x00071f8f -[NSArray(TSFoundationExtra) arrayByMakingObjectsPerformSelector:withObject:withObject:] (in DevToolsSupport)
9 0x00071d93 -[NSArray(TSFoundationExtra) arrayByMakingObjectsPerformSelector:withObject:] (in DevToolsSupport)
10 0x005b9e8b -[XCTargetDGSnapshot initWithInformationFromTarget:forBuildAction:configurationName:] (in DevToolsCore)
11 0x005b94ef -[XCNativeTargetDGSnapshot initWithInformationFromTarget:forBuildAction:configurationName:] (in DevToolsCore)
12 0x005b946d -[PBXTarget createDependencyGraphSnapshotForBuildAction:configurationName:] (in DevToolsCore)
13 0x005b92ba -[PBXTarget propagateTargetSnapshotIfNeeded] (in DevToolsCore)
14 0x0062ea2b -[PBXTarget(XCBuildables) prepareForBuildingWithBuildOperation:] (in DevToolsCore)
15 0x0062db02 -[XCBuildOperation setupBeforeRunning] (in DevToolsCore)
16 0x00005a77
17 0x0062d262 -[XCOperation run] (in DevToolsCore)
18 0x000068e5
19 0x000090a4
Abort trap