【发布时间】:2015-10-02 18:22:41
【问题描述】:
我想测试我的 ios6 应用。所以,我下载了 xcode 5。在 xcode5 打开 xib 时,xcode 崩溃并显示以下日志。请提出解决方案。
Process: Xcode [2807]
Path: /Applications/Xcode 2.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.0 (3332.25)
Build Info: IDEApplication-3332025000000000~2
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2807]
User ID: 501
Date/Time: 2015-07-14 12:55:38.017 +0500
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Anonymous UUID: F20A6FAB-50EF-797B-17ED-DCA402DAE3BA
Time Awake Since Boot: 11000 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 5A1413
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-3742/IBPlugin/Utilities/IBObjectMarshalling.m:36
Details: Failed to launch cocoa touch tool: Error Domain=com.apple.InterfaceBuilder Code=-1 "Interface Builder encountered an error communicating with the iOS Simulator." UserInfo=0x7fa34bda8380 {NSUnderlyingError=0x7fa34b78c2f0 "The operation couldn’t be completed. (IBMessageChannelErrorDomain error 1.)", NSLocalizedDescription=Interface Builder encountered an error communicating with the iOS Simulator., NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information., NSLocalizedFailureReason="Interface Builder Cocoa Touch Tool" (2879) failed to launch and exited with status (null), signal 6.}
Object: <NSThread: 0x7fa341c2bb30>
Method: -cocoaTouchToolForTargetRuntime:
Thread: <NSThread: 0x7fa341c2bb30>{number = 1, name = main}
Hints: None
【问题讨论】:
-
您不需要使用 Xcode 5 来在 iOS 6 上测试您的应用程序。如果不针对 iOS 8 SDK 进行编译,您将无法分发到 AppStore,因此您需要使用 Xcode 6 进行编译无论如何。只需将 iOS 6 设备插入 Xcode 或从 Xcode 首选项下载旧版模拟器。也许您还应该问问自己,您是否真的需要支持 iOS 6?
标签: objective-c xcode xcode6 xcode5 xib