使用一个特定的Xcode项目,我的Xcode将启动,完成通常的启动(构建,查找工作副本等)序列,然后在进度条停止移动后突然退出。此部分似乎总是出现在崩溃日志中:
Thread 18 Crashed:
0 libobjc.A.dylib 0x00007fff89eed118 objc_msgSend_vtable4 + 24
1 com.apple.Xcode.DevToolsCore 0x0000000111f81583 -[XCStringList appendElementsByTransferringFromStringList:] + 174
2 com.apple.Xcode.DevToolsCore 0x0000000111fc98cd +[XCStringList(Utilities) stringListWithDirectoryEntriesAtPath:relativeToPath:includedNamePatterns:excludedNamePatterns:directoriesOnly:followSymlinks:recursionType:includeTopLevelDirectoryItself:maxArgumentSize:errorPath:] + 2254
3 com.apple.Xcode.DevToolsCore 0x0000000111f52a6e -[PBXTargetBuildContext effectiveSearchPathsForSearchPath:] + 533
4 com.apple.Xcode.DevToolsCore 0x0000000111f52cd4 -[PBXTargetBuildContext _effectiveSearchPathsForSearchPathBuildSetting:] + 275
5 com.apple.Xcode.DevToolsCore 0x0000000111f6ff8c +[PBXCompilerSpecificationGcc2_95_2 headerSearchPathFlagsInTargetBuildContext:dashIFlagAcceptsHeadermaps:supportsSeparateUserHeaderPaths:] + 733
6 com.apple.Xcode.DevToolsCore 0x0000000111f70438 -[PBXCompilerSpecificationGcc2_95_2 standardFlagsInTargetBuildContext:] + 188
7 com.apple.Xcode.DevToolsCore 0x0000000111f743c1 -[PBXCompilerSpecificationGcc3_3 standardFlagsInTargetBuildContext:] + 55
8 com.apple.Xcode.DevToolsCore 0x000000011205c1a3 -[XCCompilerSpecificationClang standardFlagsInTargetBuildContext:] + 302
9 com.apple.Xcode.DevToolsCore 0x0000000111f719c1 -[PBXCompilerSpecificationGcc2_95_2 compileSourceCodeFileAtPath:ofType:toOutputDirectory:inTargetBuildContext:] + 3408
10 com.apple.Xcode.DevToolsCore 0x000000011205c063 -[XCCompilerSpecificationClang compileSourceCodeFileAtPath:ofType:toOutputDirectory:inTargetBuildContext:] + 1374
11 com.apple.Xcode.DevToolsCore 0x0000000111f6fb0a -[PBXCompilerSpecificationGcc computeDependenciesForInputNodes:ofType:variant:architecture:outputDirectory:inTargetBuildContext:] + 2360
12 com.apple.Xcode.DevToolsCore 0x0000000111fa8754 -[XCCompilerSpecification computeDependenciesForFilePath:ofType:outputDirectory:inTargetBuildContext:] + 2130
13 com.apple.Xcode.DevToolsCore 0x0000000112050090 -[XCBuildRuleDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirectory:additionalProperties:inTargetBuildContext:] + 7271
14 com.apple.Xcode.DevToolsCore 0x00000001120485a4 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:processedPaths:] + 2349
15 com.apple.Xcode.DevToolsCore 0x0000000112048cd4 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:] + 112
16 com.apple.Xcode.DevToolsCore 0x0000000112049293 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:inTargetBuildContext:] + 1442
17 com.apple.Xcode.DevToolsCore 0x000000011203db43 -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] + 2019
18 com.apple.Xcode.DevToolsCore 0x000000011204ac89 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] + 48
19 com.apple.Xcode.DevToolsCore 0x000000011204b6fe -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] + 2650
20 com.apple.Xcode.DevToolsCore 0x0000000111faab64 -[XCProductTypeSpecification computeDependenciesInTargetBuildContext:] + 976
21 com.apple.Xcode.DevToolsCore 0x0000000112039443 -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] + 3732
22 com.apple.Xcode.DevToolsCore 0x0000000111f49ebb -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] + 4798
23 com.apple.Xcode.DevToolsCore 0x0000000111f5bb62 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] + 453
24 com.apple.CoreFoundation 0x00007fff88b8e90c __invoking___ + 140
25 com.apple.CoreFoundation 0x00007fff88b8e7a4 -[NSInvocation invoke] + 132
26 com.apple.Xcode.DevToolsCore 0x0000000111f5af48 -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] + 608
27 com.apple.CoreFoundation 0x00007fff88b8e90c __invoking___ + 140
28 com.apple.CoreFoundation 0x00007fff88b8e7a4 -[NSInvocation invoke] + 132
29 com.apple.Xcode.DevToolsCore 0x0000000111fa3de7 -[XCInvocationQueue _processNextInvocationInThreadSlotNumber:] + 381
30 com.apple.Xcode.DevToolsCore 0x0000000111fa41f9 -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] + 525
31 com.apple.Foundation 0x00007fff83b671ea -[NSThread main] + 68
32 com.apple.Foundation 0x00007fff83b67162 __NSThread__main__ + 1575
33 libsystem_c.dylib 0x00007fff81b528bf _pthread_start + 335
34 libsystem_c.dylib 0x00007fff81b55b75 thread_start + 13
我已尝试运行Xcode卸载脚本并从App Store重新安装,因此我认为我的安装不是问题。我正在运行OSX 10.7.1。
答案 0 :(得分:1)
我用 git clone 重新创建了项目,然后我又能够打开项目了。我怀疑xcodeproject文件以某种方式被破坏,可能是一个糟糕的冲突解决方案。