2012-01-31 2 views
9

xcodebuild (XCode 4.2.1 - iOS SDK 5.0) 명령 줄 도구로 응용 프로그램을 임의로 컴파일하면 ibtoold (인터페이스 작성기)이 충돌합니다. 내가 빌드를 다시 실행하면 모든 것이 잘 작동합니다.Xcode : XIB 컴파일 중 인터페이스 작성기가 충돌합니다

다음 오류가 발생합니다

ibtoold[88134:107] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-933/IBPlugin/Utilities/IBObjectMarshalling.m:499 
Details: Interface Builder encountered an error communicating with the iOS Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report. 
Exception name: NSInvalidReceivePortException 
Exception reason: connection went invalid while waiting for a reply because a mach port died 
Exception backtrace: 
(null) 
Exception info:(null) 
Object: <IBAssertionShim: 0x40047fac0> 
Method: -reportMarshallingFailure: 
Thread: <NSThread: 0x40010a220>{name = (null), num = 1} 
Hints: None 
Backtrace: 
    0 0x00000001068f42d4 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundation) 
    1 0x00000001068f41a4 _DVTAssertionFailureHandler (in DVTFoundation) 
    2 0x00000001094f1e20 (in IDEInterfaceBuilderCocoaTouchIntegration) 
    3 0x0000000109572081 (in IDEInterfaceBuilderCocoaTouchIntegration) 
    4 0x00000001095720d4 (in IDEInterfaceBuilderCocoaTouchIntegration) 
    5 0x0000000106087d25 (in ibtoold) 
    6 0x0000000106085413 (in ibtoold) 
    7 0x0000000106085120 (in ibtoold) 
    8 0x000000010608502c (in ibtoold) 
    9 0x000000010608ed56 (in ibtoold) 
    10 0x0000000106084baa (in ibtoold) 
    11 0x0000000106085b8f (in ibtoold) 
    12 0x0000000106083644 (in ibtoold) 
Command /Developer/usr/bin/ibtool failed with exit code 255 

어떤 생각 방법이 문제를 해결하기 위해?

+0

나에게도 똑같은 일이 일어납니다. 해결책을 찾았 니? – Dmytro

+0

아직 애플에게 버그를 작성했습니다 ... – x2on

+0

이 문제는 Xcode 4.3.1에서 수정되었습니다 ... – x2on

답변

0

이 하나 보이는 엑스 코드 4.2과 버그입니다. *.

4.3으로 업데이트 해보세요. 저에게 적합합니다.

+0

우리 빌드 서버가 우리를 위해 프로젝트를 빌드 할 때 수시로이 문제를 볼 수 있습니다. Xcode 4.3 사용). 다시 시도하면 문제가 해결됩니다. – Erik

0

이 문제는 내가 작업하고있는 한 프로젝트에서 확실하게 재현 할 수있었습니다. 대상의 "번들 리소스 복사"빌드 단계에서 xib 파일의 순서를 변경하면 저에게 효과적이었습니다.