简体   繁体   English

在Xcode 3.2.3中构建失败

[英]Build failed in xcode 3.2.3

I have upgraded my iphone sdk from 3.1.3 to 3.2.3. 我已将iPhone SDK从3.1.3升级到3.2.3。 But now i have a problem. 但是现在我有一个问题。 The project im working on is not compiling in new sdk. 我正在处理的项目未在新的SDK中进行编译。 I have changed the target info settings also ie base sdk is set to iphone device 4.0. 我也更改了目标信息设置,即基本sdk设置为iPhone设备4.0。 I have follwing build error: 我有以下构建错误:

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)

I have deleted build folder and trying to clean all targets but it does not work. 我已经删除了构建文件夹并尝试清除所有目标,但是它不起作用。

Are you trying to build an iPad app or an iPhone app? 您要构建iPad应用程序还是iPhone应用程序? As far as I know 3.2.x is for iPad. 据我所知3.2.x适用于iPad。 Moreover, are you trying to run it on the device or on the simulator? 此外,您是否正在尝试在设备或模拟器上运行它? if you are running on the simulator, make sure it is set correctly in the project settings. 如果您在模拟器上运行,请确保在项目设置中正确设置了模拟器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM