由于缺少 CoreText,Interface Builder Cocoa Touch Tool 崩溃
我正在尝试构建一个 iPhone 应用程序,但每次(无论目标设置如何),XCode 在编译 XIB 时的链接阶段都会返回错误。
我设法找到了问题:XCode 正在启动“Interface Builder Cocoa Touch Tool”,但该实用程序在加载时立即崩溃,并显示以下消息:
Last login: Wed Jan 18 00:54:27 on ttys004
[mqudsi@iqudsi:~]$ /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/Interface\ Builder\ Cocoa\ Touch\ Tool ; exit;
dyld: Library not loaded: /System/Library/Frameworks/CoreText.framework/CoreText
Referenced from: /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/Interface Builder Cocoa Touch Tool
Reason: image not found
[1] 2338 trace trap
[Process completed]
它正在搜索的路径,/System/Library/Frameworks/CoreText.framework/
,在我的机器上不存在,并且根据我的时间机器备份,它也从未存在过。我相信 CoreText 是一个仅限 iOS 的框架,它不应该出现在我的机器上。
我正在使用 XCode 4.2.1,并且尝试更新 OS X Lion 并完全删除并重新安装 XCode,但无济于事。
有人知道这是怎么回事吗?或者我如何避免启动此触摸工具(我不认为它实际上是构建所必需的?)。
I'm trying to build an iPhone application but each and every time (regardless of target settings), XCode returns an error during the linking stage when compiling the XIBs.
I managed to track down the problem: XCode is launching "Interface Builder Cocoa Touch Tool" but this utility immediately crashes on load with the following message:
Last login: Wed Jan 18 00:54:27 on ttys004
[mqudsi@iqudsi:~]$ /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/Interface\ Builder\ Cocoa\ Touch\ Tool ; exit;
dyld: Library not loaded: /System/Library/Frameworks/CoreText.framework/CoreText
Referenced from: /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/Interface Builder Cocoa Touch Tool
Reason: image not found
[1] 2338 trace trap
[Process completed]
The path it's searching for, /System/Library/Frameworks/CoreText.framework/
, does not exist on my machine, and according to my Time Machine backups, it never did either. I believe CoreText is an iOS-only framework, and it shouldn't be on my machine.
I'm using XCode 4.2.1 and I've attempted to update OS X Lion and to completely remove and reinstall XCode, to no avail.
Anyone know what's going on here? Or how I can avoid the launching of this touch tool (I don't think it's actually required to build?).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决我的问题的方法。我通过 Binary Age 运行 Asepsis,忘记了 XCode 不兼容性。如果您正在运行 Asepsis,则运行此处找到的卸载程序应该可以修复问题。
I found a fix to my issue. I was running Asepsis by Binary Age and forgot about the XCode incompatibility. If you are running Asepsis then running the uninstaller found here should fix the problem.