我已經將我的iphone sdk從3.1.3升級到3.2.3。但是現在我有一個問題。我正在開發的這個項目並沒有在新的SDK中編譯。我更改了目標信息設置,也就是base sdk設置爲iphone設備4.0。我有follwing生成錯誤:編譯失敗的xcode 3.2.3
Internal error occurred while creating dependency graph: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase- 1691/pbxcore/Target.subproj/PBXTargetBuildContext.m:2061
Details: Assertion failed: [filePath isAbsolutePath]
Object: <PBXTargetBuildContext:0x201779de0>
Method: -setHeadermapToolInvocation:forFilePath:
Thread: <NSThread: 0x20091e040>{name = (null), num = 5}
Backtrace:
0 0x00000001002857d8 -[PBXTargetBuildContext(DependencyGraphEvents) handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
1 0x00000001002dab3f _XCAssertionFailureHandler (in DevToolsCore)
2 0x0000000100282342 -[PBXTargetBuildContext setHeadermapToolInvocation:forFilePath:] (in DevToolsCore)
3 0x0000000100141a6b -[XCCompilerSpecification computeDependenciesForFilePath:ofType:outputDirectory:inTargetBuildContext:] (in DevToolsCore)
4 0x0000000100381aa5 -[XCBuildRuleDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirectory:additionalProperties:inTargetBuildContext:] (in DevToolsCore)
5 0x000000010015b3cd -[XCResourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:inTargetBuildContext:] (in DevToolsCore)
6 0x000000010013d4a8 -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in DevToolsCore)
7 0x000000010015b0e3 -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] (in DevToolsCore)
8 0x000000010015b031 -[XCResourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] (in DevToolsCore)
9 0x000000010012d1eb -[XCProductTypeSpecification computeDependenciesInTargetBuildContext:] (in DevToolsCore)
10 0x0000000100128a19 -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] (in DevToolsCore)
11 0x0000000100124ba5 -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore)
12 0x0000000100123b62 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] (in DevToolsCore)
13 0x00007fff83eed0dc __invoking___ (in CoreFoundation)
14 0x00007fff83eecfad -[NSInvocation invoke] (in CoreFoundation)
15 0x000000010a -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] (in DevToolsCore)
16 0x00007fff83eed0dc __invoking___ (in CoreFoundation)
17 0x00007fff83eecfad -[NSInvocation invoke] (in CoreFoundation)
18 0x000000010b -[XCInvocationQueue _processNextInvocationInThreadSlotNumber:] (in DevToolsCore)
19 0x0000000100122e0d -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] (in DevToolsCore)
20 0x00007fff829f9e99 __NSThread__main__ (in Foundation)
21 0x00007fff8845ff8e _pthread_start (in libSystem.B.dylib)
22 0x00007fff8845fe41 thread_start (in libSystem.B.dylib)
我已刪除生成文件夾,並試圖清理所有目標,但它不起作用。
嘿。我知道這已經有一段時間了,但是你還記得你是如何解決這個問題的?我遇到了與XCode 4.3相同的問題。 – 2012-02-20 21:23:18