0

我正在使用 Xcode 6.0 版。当我尝试打开 .xib 文件时,xcode 崩溃。在以前版本的 Xcode 中,即 Xcode 5.1 或 5.1.1,它工作正常。

错误是:

dyld: problem loading iOS simulator dyld
2014-09-15 17:31:07.823 ibtoold[1971:507] Init failed: Error Domain=IBMessageChannelErrorDomain Code=1 "Failed to communicate with Interface Builder" UserInfo=0x7f8f32db6560 {NSLocalizedDescription=Failed to communicate with Interface Builder, NSLocalizedFailureReason=Interface Builder Cocoa Touch Tool crashed: EXC_BREAKPOINT (SIGTRAP), IBCrashLog=

Dyld Error Message:
  problem loading iOS simulator dyld
}
2014-09-15 17:31:07.824 ibtoold[1971:507] [MT] DVTAssertions: Warning in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-6245/InterfaceBuilderKit/Utilities/IBAbstractMessageChannelInterfaceBuilderToolManager.m:76
Details:  Failed to attach to Interface Builder Cocoa Touch Tool with error: Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with Interface Builder Cocoa Touch Tool." UserInfo=0x7f8f32daaab0 {NSUnderlyingError=0x7f8f32db65f0 "Failed to communicate with Interface Builder", NSLocalizedDescription=Encountered an error communicating with Interface Builder Cocoa Touch Tool., NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information., NSLocalizedFailureReason=Interface Builder Cocoa Touch Tool (2314) failed to launch and exited with status (null), signal 5.



Dyld Error Message:
  problem loading iOS simulator dyld
}
Object:   <IBCocoaTouchToolManager: 0x7f8f306aa620>
Method:   -attachToToolForTargetRuntime:isForLiveViews:scaleFactor:assertOnFailureToAttach:assertOnPostLaunchRequestFailures:error:
Thread:   <NSThread: 0x7f8f3041caf0>{name = (null), num = 1}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2014-09-15 17:31:08.352 ibtoold[1971:507] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-6238/InterfaceBuilder/Utilities/IBObjectMarshalling.m:45
Details:  Failed to launch Interface Builder Cocoa Touch Tool: Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with Interface Builder Cocoa Touch Tool." UserInfo=0x7f8f32daaab0 {NSUnderlyingError=0x7f8f32db65f0 "Failed to communicate with Interface Builder", NSLocalizedDescription=Encountered an error communicating with Interface Builder Cocoa Touch Tool., NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information., NSLocalizedFailureReason=Interface Builder Cocoa Touch Tool (2314) failed to launch and exited with status (null), signal 5.



Dyld Error Message:
  problem loading iOS simulator dyld
}
Object:   <NSThread: 0x7f8f3041caf0>
Method:   -cocoaTouchToolForTargetRuntime:
Thread:   <NSThread: 0x7f8f3041caf0>{name = (null), num = 1}
Hints: None
Backtrace:
  0  0x00000001056a215a -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1  0x00000001056a1baf _DVTAssertionHandler (in DVTFoundation)
  2  0x00000001056a1e9e _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x000000010b849157 (in IDEInterfaceBuilderCocoaTouchIntegration)
  4  0x000000010b848eb9 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext (in IDEInterfaceBuilderCocoaTouchIntegration)
  5  0x000000010b848d89 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshaller (in IDEInterfaceBuilderCocoaTouchIntegration)
  6  0x000000010b87b04f (in IDEInterfaceBuilderCocoaTouchIntegration)
  7  0x000000010b87b3f2 (in IDEInterfaceBuilderCocoaTouchIntegration)
  8  0x000000010b87b607 (in IDEInterfaceBuilderCocoaTouchIntegration)
  9  0x000000010b849876 (in IDEInterfaceBuilderCocoaTouchIntegration)
 10  0x00000001067ba6fc -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
 11  0x00000001067bb4b2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 12  0x00000001067bb10f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
 13  0x00000001067bb2b9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
 14  0x00007fff8e65b512 -[NSImage initWithCoder:] (in AppKit)
 15  0x00000001067ba6fc -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
 16  0x00000001067bb4b2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 17  0x00000001067bb10f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
 18  0x00000001067bb2b9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
 19  0x00007fff8e7da506 +[NSPatternColor newWithCoder:zone:] (in AppKit)
 20  0x00007fff8e41f582 -[NSColor initWithCoder:] (in AppKit)
 21  0x000000010b84967d (in IDEInterfaceBuilderCocoaTouchIntegration)
 22  0x00000001067ba6fc -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
 23  0x00000001067bb4b2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 24  0x00000001067bb10f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
 25  0x00000001067bb2b9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
 26  0x000000010b9670d8 (in IDEInterfaceBuilderCocoaTouchIntegration)
 27  0x000000010b99bfd7 (in IDEInterfaceBuilderCocoaTouchIntegration)
 28  0x000000010b9221d6 (in IDEInterfaceBuilderCocoaTouchIntegration)
 29  0x000000010b963e12 (in IDEInterfaceBuilderCocoaTouchIntegration)
 30  0x00000001067ba6fc -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
 31  0x00000001067bb4b2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 32  0x00000001067bb10f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
 33  0x00000001067bb2b9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
 34  0x00000001067ba282 __48-[IBXMLDecoder deserializeArray:fromXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 35  0x00000001067b6403 -[IBXMLDecoderAbstractObjectElement enumerateElements:] (in IDEInterfaceBuilderKit)
 36  0x00000001067ba20b -[IBXMLDecoder deserializeArray:fromXMLElement:] (in IDEInterfaceBuilderKit)
 37  0x00000001067bb4b2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 38  0x00000001067bb10f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
 39  0x00000001067bb2b9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
 40  0x000000010669506b -[IBObjectRecord initWithCoder:] (in IDEInterfaceBuilderKit)
 41  0x00000001067ba6fc -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
 42  0x00000001067bb4b2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 43  0x00000001067bb10f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
 44  0x00000001067bb2b9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
 45  0x00000001067ba282 __48-[IBXMLDecoder deserializeArray:fromXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 46  0x00000001067b6403 -[IBXMLDecoderAbstractObjectElement enumerateElements:] (in IDEInterfaceBuilderKit)
 47  0x00000001067ba20b -[IBXMLDecoder deserializeArray:fromXMLElement:] (in IDEInterfaceBuilderKit)
 48  0x00000001067bb4b2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 49  0x00000001067bb10f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
 50  0x00000001067bb2b9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
 51  0x000000010554a74c -[DVTMutableOrderedSet initWithCoder:] (in DVTFoundation)
 52  0x00000001067ba6fc -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
 53  0x00000001067bb4b2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 54  0x00000001067bb10f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
 55  0x00000001067bb2b9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
 56  0x000000010665fad7 -[IBObjectContainer decodeObjectsWithCoder:] (in IDEInterfaceBuilderKit)
 57  0x0000000106661a24 -[IBObjectContainer initWithCoder:] (in IDEInterfaceBuilderKit)
 58  0x00000001067ba6fc -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
 59  0x00000001067bb4b2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
 60  0x00000001067bb10f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
 61  0x00000001067bb2b9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
 62  0x00000001064ca38e -[IBDocument decodeDocumentWithCoder:] (in IDEInterfaceBuilderKit)
 63  0x00000001064caeaf -[IBDocument decodeContentsOfURL:ofType:decodingStyle:error:] (in IDEInterfaceBuilderKit)
 64  0x00000001064c53d9 __39-[IBDocument readFromURL:ofType:error:]_block_invoke_2 (in IDEInterfaceBuilderKit)
 65  0x0000000106523080 -[IBDocumentAutolayoutManager doNotSynchronouslyComputeAutolayoutStatusWhilePerformingBlock:] (in IDEInterfaceBuilderKit)
 66  0x00000001064c5231 __39-[IBDocument readFromURL:ofType:error:]_block_invoke (in IDEInterfaceBuilderKit)
 67  0x00000001064fa69b -[IBDocument invokeWithUndoSuppressed:] (in IDEInterfaceBuilderKit)
 68  0x00000001064c4ee9 -[IBDocument readFromURL:ofType:error:] (in IDEInterfaceBuilderKit)
 69  0x00000001054ab1c1 (in ibtoold)
 70  0x00000001054a632f (in ibtoold)
 71  0x00000001054acfe1 (in ibtoold)
 72  0x00000001054b24c7 (in ibtoold)
 73  0x00000001054b2a17 (in ibtoold)
 74  0x00000001054b28e7 (in ibtoold)
 75  0x00000001054a249f (in ibtoold)
 76  0x00000001054b20b1 (in ibtoold)
 77  0x00000001054b1308 (in ibtoold)
 78  0x00007fff8c07e5fd start (in libdyld.dylib)
 79  0x0000000000000002
Command /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255

无法得到解决方案。我会感激任何想法和想法!提前致谢

4

2 回答 2

4

我遇到了同样的问题,我通过用最新更新的 .xib 替换 .xib 文件解决了这个问题,然后再次清理和构建这个问题。

于 2015-11-30T07:15:34.953 回答
0

我在使用 XCode 6.4 版本和 OS X 10.10.5 时遇到了同样的错误。

我不知道怎么办?为什么?但是我尝试并搜索了很多解决问题的答案,但我没有找到解决方案。

在开发者论坛中,有人回答“通过恢复将消除错误的操作系统版本”。

但就我而言,我已经重新安装了 XCode,打开了项目并清理了它。那个错误消失了。这可能不是一个正确的解决方案,但它通过重新安装而不是寻找正确的解决方案节省了我的时间。它可能对某人有帮助。

于 2015-10-15T17:20:59.070 回答