ios – swift:无法与Interface Builder通信

前端之家收集整理的这篇文章主要介绍了ios – swift:无法与Interface Builder通信前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我刚刚在 xcode 6 beta中打开了现有项目.但它崩溃了以下错误消息.
  1. dyld: problem loading iOS simulator dyld
  2. 2014-06-05 11:15:06.604 ibtoold[952:507] Init Failed: Error Domain=IBMessageChannelErrorDomain Code=1 "Failed to communicate with Interface Builder" UserInfo=0x7fd09861dbf0 {NSLocalizedDescription=Failed to communicate with Interface Builder,NSLocalizedFailureReason=Interface Builder Cocoa Touch Tool crashed: EXC_BREAKPOINT (SIGTRAP),IBCrashLog=
  3.  
  4. Dyld Error Message:
  5. problem loading iOS simulator dyld
  6. }
  7. 2014-06-05 11:15:06.605 ibtoold[952:507] [MT] DVTAssertions: Warning in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-6154.17/InterfaceBuilderKit/Utilities/IBAbstractMessageChannelInterfaceBuilderToolManager.m:76
  8. 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=0x7fd09b3a1360 {NSUnderlyingError=0x7fd09861d710 "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 (962) Failed to launch and exited with status (null),signal 5.
  9.  
  10.  
  11.  
  12. Dyld Error Message:
  13. problem loading iOS simulator dyld
  14. }
  15. Object: <IBCocoaTouchToolManager: 0x7fd09b478a40>
  16. Method: -attachToToolForTargetRuntime:scaleFactor:assertOnFailureToAttach:assertOnPostLaunchRequestFailures:error:
  17. Thread: <NSThread: 0x7fd098614780>{name = (null),num = 1}
  18. Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
  19. 2014-06-05 11:15:06.914 ibtoold[952:507] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-6153.11/InterfaceBuilder/Utilities/IBObjectMarshalling.m:45
  20. 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=0x7fd09b3a1360 {NSUnderlyingError=0x7fd09861d710 "Failed to communicate with Interface Builder",signal 5.

xib是否可以在xcode beta上运行?

解决方法

这修复了Interface Builder问题.
  1. cd /Applications/Xcode.app
  2. cd Contents/Developer/Platforms/iPhoneSimulator.platform
  3. cd Developer/SDKs/iPhoneSimulator.sdk/usr/lib
  4. sudo mv dyld_sim dyld_sim.orig

猜你在找的iOS相关文章