2010-05-10 4 views
3

이 어설 션 오류가 발생하는 이유는 무엇입니까? Xcode 3.1.2를 사용하고 있습니다.종속성 그래프를 생성하는 동안 내부 오류가 발생했습니다. ASSERTION FAILURE

Checking Dependencies 
Internal error occurred while creating dependency graph: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1204/pbxcore/NativeBuildSystem/XCDependencyNode.m:396 
Details: command should be an instance inheriting from XCDependencyCommand, but it is nil 
Object: <XCDependencyNode:0x03379d50> 
Method: -addDependedNode: 
Thread: <NSThread: 0x2c1e760>{name = (null), num = 4} 
Backtrace: 
    0 0x00725da2 -[PBXTargetBuildContext(DependencyGraphEvents) handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore) 
    1 0x0078a360 _XCAssertionFailureHandler (in DevToolsCore) 
    2 0x005e1f66 -[XCDependencyNode addDependedNode:] (in DevToolsCore) 
    3 0x005e5c4c -[XCResourcesBuildPhaseDGSnapshot copyResourceFile:ofType:toDirectory:inTargetBuildContext:] (in DevToolsCore) 
    4 0x005e55d6 -[XCResourcesBuildPhaseDGSnapshot computeDependenciesForBuildFileReference:inTargetBuildContext:] (in DevToolsCore) 
    5 0x005e34b4 -[XCBuildPhaseDGSnapshot computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in DevToolsCore) 
    6 0x005e2b13 -[XCBuildPhaseDGSnapshot computeDependenciesInTargetBuildContext:] (in DevToolsCore) 
    7 0x005e4ebb -[XCResourcesBuildPhaseDGSnapshot computeDependenciesInTargetBuildContext:] (in DevToolsCore) 
    8 0x005d8ebe -[XCProductTypeSpecification computeDependenciesInTargetBuildContext:] (in DevToolsCore) 
    9 0x005d4866 -[XCNativeTargetDGSnapshot computeDependenciesInTargetBuildContext:] (in DevToolsCore) 
10 0x005d1efd -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore) 
11 0x005d10c5 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] (in DevToolsCore) 
12 0x936199dd __invoking___ (in CoreFoundation) 
13 0x936193c8 -[NSInvocation invoke] (in CoreFoundation) 
14 0x005d0aeb -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] (in DevToolsCore) 
15 0x936199dd __invoking___ (in CoreFoundation) 
16 0x936193c8 -[NSInvocation invoke] (in CoreFoundation) 
17 0x005d0458 -[XCInvocationQueue _processNextInvocationInThreadSlotNumber:] (in DevToolsCore) 
18 0x005d0107 -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] (in DevToolsCore) 
19 0x91a11e0d -[NSThread main] (in Foundation) 
20 0x91a119b4 __NSThread__main__ (in Foundation) 
21 0x9757d155 _pthread_start (in libSystem.B.dylib) 
22 0x9757d012 thread_start (in libSystem.B.dylib) 

답변

2

에 버그보고를 할 수 있습니다 나도이 문제에 달려 내 문제는 다음과 같은 구성 설정에 관련된 것을 발견 Xcode가 제작 한 오류가 사라졌습니다.

1

이것은 XCode가 응용 프로그램을 빌드하는 중 충돌하는 것 같습니다.

추적 이름의 메소드 이름으로 판단 할 때, 빌드 할 항목을 찾으려는 종속성이 있습니다. "모든 대상을 지우고"다시 시도하여 문제를 해결할 수 있습니다. 다만,

CONFIGURATION_BUILD_DIR = $(BUILD_DIR)/release/bin 
CONFIGURATION_TEMP_DIR = build/$(CONFIGURATION_BUILD_DIR) 

내가 설정을 제거 :

또한 http://developer.apple.com/bugreporter/

+1

대상을 정리할 수 없으며 앱을 만들 수 없습니다. – madhavi

관련 문제