当前位置: 首页 > 面试题库 >

swift:无法与Interface Builder通信

戈念
2023-03-14
问题内容

我刚刚在xcode 6 beta中打开了现有项目。但是由于以下错误消息而崩溃。

dyld: problem loading iOS simulator dyld
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=

Dyld Error Message:
  problem loading iOS simulator dyld
}
2014-06-05 11:15:06.605 ibtoold[952:507] [MT] DVTAssertions: Warning in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-6154.17/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=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.



Dyld Error Message:
  problem loading iOS simulator dyld
}
Object:   <IBCocoaTouchToolManager: 0x7fd09b478a40>
Method:   -attachToToolForTargetRuntime:scaleFactor:assertOnFailureToAttach:assertOnPostLaunchRequestFailures:error:
Thread:   <NSThread: 0x7fd098614780>{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-06-05 11:15:06.914 ibtoold[952:507] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-6153.11/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=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.

xib在xcode beta上运行是否有任何解决方法?


问题答案:

这解决了Interface Builder问题。

cd /Applications/Xcode.app
cd Contents/Developer/Platforms/iPhoneSimulator.platform  
cd Developer/SDKs/iPhoneSimulator.sdk/usr/lib  
sudo mv dyld_sim dyld_sim.orig


 类似资料:
  • 我正在为Swift使用框架。我试图通过websockets API连接,我有一个方法,它在的中被调用。我已经全局声明了我的manager和socketClient,我将把方法的代码放在下面: 我面临的问题是没有调用回调,因此无法发出ping消息。以下是日志: 2018-02-18 19:02:20.589916+0530股票-蛋糕[10965:3662189]日志SocketManager:添加引

  • (在中)有一个名为的属性,它可以轻松地禁用/启用所述布局约束。 要为视图控制器创建第二个布局集,然后可以通过编程方式启用/禁用该布局集(通过两个布局集的NSLayoutConstraints的IBMoutletCollection),我需要在interface builder中禁用已定义的布局约束。 让我明确一下,我不想删除它们,只需禁用它们,这样我就可以设计第二个集合,而无需界面生成器一直抱怨约

  • 我已经通过usb到rs-485适配器(FTDI芯片)a到a和B到B将设备连接到覆盆子pi。 设备配置如下: > 端口设置: null null null 我希望收到某种回复,即使是一个错误或不正确的,但我什么也没有得到。minimalmodbus的调试输出显示“IoError:与仪器无通信(无应答)” 我的代码与传感器请求相比有什么明显的错误吗?我和制造商确认了我的线路,并且是正确的。

  • 我在两个单独的容器中运行Apache2和PHP-FPM。两个容器运行正常,但我无法处理php文件。当我导航到一个php文件时,浏览器的响应是“找不到文件”查看apache错误日志,我得到: 主要是我一直遵循这里的设置说明。其他网站的搜索显示类似的设置。 我注意到这些指令不包括apache2 PHP模块,但fcgi似乎解决了这个问题。。。? 一些调试结果: 我可以访问主机IP并呈现超文本标记语言网页

  • Hadoop datanode无法与KDC通信,但kinit可以工作。 sudo kinit-k-t /etc/hadoop/conf/hdfs.keytabhdfs/symbio5.us-west-1.compute.internal@US-WEST-1.COMPUTE.INTERNAL UDP端口也可以。 nc symbio5.us-west-1.compute。内部-v-z-u 88 连接到

  • 问题内容: 我对Firebase和构建iOS应用程序完全陌生。在Xcode 7中,我试图将Firebase导入我的Swift类。在一个快速文件中,我键入了“ import Firebase”。 我收到一个错误消息,说 “没有这样的模块’Firebase’” 任何帮助将不胜感激。 问题答案: 有两种安装Firebase的方法:手动安装和通过CocoaPods安装。 我建议使用CocoaPods。在中