【问题标题】:Xcode crashes on startupXcode 在启动时崩溃
【发布时间】:2011-09-19 17:40:04
【问题描述】:

对于一个特定的 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。

【问题讨论】:

    标签: xcode4


    【解决方案1】:

    我使用 git clone 重新创建了项目,并且能够再次打开该项目。我怀疑 xcodeproject 文件以某种方式损坏了,可能是错误的冲突解决方案。

    【讨论】:

      猜你喜欢
      • 2013-12-30
      • 2014-01-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-06
      • 1970-01-01
      • 2015-04-13
      相关资源
      最近更新 更多