1

我已将我的 iphone sdk 从 3.1.3 升级到 3.2.3。但现在我有一个问题。我正在处理的项目没有在新的 sdk 中编译。我也更改了目标信息设置,即基本 sdk 设置为 iphone 设备 4.0。我有以下构建错误:

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  0x000000010012357a -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] (in DevToolsCore)
16  0x00007fff83eed0dc __invoking___ (in CoreFoundation)
17  0x00007fff83eecfad -[NSInvocation invoke] (in CoreFoundation)
18  0x000000010012309b -[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)

我已删除构建文件夹并尝试清理所有目标,但它不起作用。

4

1 回答 1

0

您是在尝试构建 iPad 应用程序还是 iPhone 应用程序?据我所知 3.2.x 适用于 iPad。此外,您是要在设备上还是在模拟器上运行它?如果您在模拟器上运行,请确保在项目设置中正确设置。

于 2010-09-09T10:15:56.227 回答