Xcode 3.2.2 CONFIGURATION_TEMP_DIR build setting makes build fail
Xcode 3.2.2 CONFIGURATION_TEMP_DIR build setting makes build fail
- Subject: Xcode 3.2.2 CONFIGURATION_TEMP_DIR build setting makes build fail
- From: Шкраблюк Павел <email@hidden>
- Date: Tue, 22 Jun 2010 12:40:12 +0300
- Organization: CSO
Hi, xcode-users.
I have already posted the problem as the bug to bugreport.apple.com,
but still don't have any reply for more than 2 weeks.
The trouble is that if you set CONFIGURATION_TEMP_DIR build setting to relative path value
then Build and Clean would fail, 'causing Xcode to report Assertion
failure (you can see message in the end of letter).
There was no such bug before 3.2.2 Xcode update.
Steps to Reproduce:
Create New Project of type Command Line Tool.
Open build setting of target.
Set Per-Configuration Intermediate File Path to "../sdsd" (without quotes).
"../sdsd" is just an example - in real project we have path three levels up from Project directory.
We need CONFIGURATION_TEMP_DIR to be upper than Project directory - we have such structure of our
source directories - Project: src, bin and obj, where xcodeproj and all sources lie in src,
but all object-files go to obj, all resulting binaries go to bin.
Thus we get all build results outside of sources and binaries won't get to CVS and it's easy
to clean manually - kill bin/obj.
Did anyone face this problem too? Did you find way out?
This is very critical bug for us.
Here is what Xcode outputs:
Check dependencies
Internal error occurred while creating dependency graph: ASSERTION
FAILURE in
/SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/Target.subproj/PBXTargetBuildContext.m:2061
Details: Assertion failed: [filePath isAbsolutePath]
Object: <PBXTargetBuildContext:0x2013f81a0>
Method: -setHeadermapToolInvocation:forFilePath:
Thread: <NSThread: 0x200d109a0>{name = (null), num = 5}
Backtrace:
0 0x00000001002b517f
-[PBXTargetBuildContext(DependencyGraphEvents)
handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:]
(in DevToolsCore)
1 0x0000000100311c1a _XCAssertionFailureHandler (in DevToolsCore)
2 0x00000001002b17d8 -[PBXTargetBuildContext
setHeadermapToolInvocation:forFilePath:] (in DevToolsCore)
3 0x0000000100153f23 -[XCCompilerSpecification
computeDependenciesForFilePath:ofType:outputDirectory:inTargetBuildContext:]
(in DevToolsCore)
4 0x00000001003c9447
-[XCBuildRuleDGSnapshot(DependencyGraphCreation)
computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirectory:additionalProperties:inTargetBuildContext:]
(in DevToolsCore)
5 0x0000000100152987
-[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
_computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:processedPaths:]
(in DevToolsCore)
6 0x0000000100152348
-[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:]
(in DevToolsCore)
7 0x000000010014fe72
-[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesForBuildFileReference:inTargetBuildContext:] (in
DevToolsCore)
8 0x000000010014f2eb
-[XCBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in
DevToolsCore)
9 0x000000010014ee76
-[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in
DevToolsCore)
10 0x000000010014b51d
-[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesInTargetBuildContext:] (in DevToolsCore)
11 0x000000010013d81f -[XCProductTypeSpecification
computeDependenciesInTargetBuildContext:] (in DevToolsCore)
12 0x0000000100138a74
-[XCNativeTargetDGSnapshot(DependencyGraphCreation)
computeDependenciesInTargetBuildContext:] (in DevToolsCore)
13 0x00000001001344d1 -[PBXTargetBuildContext
createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore)
14 0x00000001001333d6
-[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:]
(in DevToolsCore)
15 0x00007fff8423dd8c __invoking___ (in CoreFoundation)
16 0x00007fff8423dc5d -[NSInvocation invoke] (in CoreFoundation)
17 0x0000000100132d3f
-[PBXTargetBuildContext(DependencyGraphEvents)
processDependencyGraphEvents] (in DevToolsCore)
18 0x00007fff8423dd8c __invoking___ (in CoreFoundation)
19 0x00007fff8423dc5d -[NSInvocation invoke] (in CoreFoundation)
20 0x00000001001328f7 -[XCInvocationQueue
_processNextInvocationInThreadSlotNumber:] (in DevToolsCore)
21 0x0000000100132626 -[XCInvocationQueue
_processInvocationsInThreadSlotNumber:] (in DevToolsCore)
22 0x00007fff830d8ead __NSThread__main__ (in Foundation)
23 0x00007fff868a28b6 _pthread_start (in libSystem.B.dylib)
24 0x00007fff868a2769 thread_start (in libSystem.B.dylib)
--
С уважением,
Шкраблюк mailto:email@hidden
_______________________________________________
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