【问题标题】:Interface Builder keeps on crashing界面生成器不断崩溃
【发布时间】:2011-05-30 01:31:25
【问题描述】:

我决定尝试一下 iPhone 开发,但是每当我通过 xcode 打开一个 xib 文件或手动启动它时,无论何时我打开 Interface Builder,应用程序都会不断崩溃。我尝试重新安装它多次但无济于事。我非常需要你们的帮助。

以下是堆栈跟踪中的错误描述:

Process:         Interface Builder [400]
Path:            /Developer/Applications/Interface Builder.app/Contents/MacOS/Interface Builder
Identifier:      com.apple.InterfaceBuilder3
Version:         3.2.5 (823)
Build Info:      InterfaceBuilder-8230000~6
Code Type:       X86-64 (Native)
Parent Process:  launchd [229]


*** Terminating app due to uncaught exception 'IBAssertionFailure', reason: 'Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (380) failed to launch and exited with status 5. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.'
*** Call stack at first throw:

请帮忙。 :(

【问题讨论】:

  • 您是否尝试过重新安装所有 SDK 或仅重新安装 IB?
  • 您应该在 bugreport.apple.com 提交错误报告并包含“Interface Builder Cocoa Touch Tool”的崩溃跟踪,您应该可以在 Console.app 中找到它
  • 它说得很清楚:'请检查 Console.app 以获取“Interface Builder Cocoa Touch Tool”的崩溃报告以获取更多信息。'你做过吗?你在那里发现了什么?

标签: xcode interface-builder


【解决方案1】:

您是否完全卸载?如果您还没有使用此命令,请尝试使用:

sudo <Xcode>/Library/uninstall-devtools --mode=all

xcode 的路径在哪里。 IE。 /开发者

【讨论】:

  • 嗨,我尝试使用该命令卸载并重新安装整个 sdk,但仍然是同样的问题。另请注意,我通过单击图标而不是通过 xcode 来启动 IB。这是来自 Console.app yld 的堆栈跟踪:找不到符号:_CFXMLNodeGetInfoPtr 引用自:/System/Library/Frameworks/Security.framework/Versions/A/Security 预期在:/Developer/Platforms/iPhoneSimulator.platform/Developer /SDKs/iPhoneSimulator4.2.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security
  • 检查文件夹 /System/Library/Frameworks/Security.framework 是否存在。如果不是,那可能是你的问题。
  • 我检查了它,它就在那里:(
猜你喜欢
  • 1970-01-01
  • 2011-04-16
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-11-09
相关资源
最近更新 更多