xcode 5在打开xcode6中开发的xib时崩溃

时间:2015-07-14 08:05:54

标签: objective-c xcode xcode6 xcode5 xib

我想测试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

1 个答案:

答案 0 :(得分:0)

在XIB文件的文件检查器中,有一个&#34; Interface Builder Document&#34;弹出窗口和其中一个选择是&#34;打开&#34;。从那里你可以选择&#34; Xcode 5&#34;。

如果您打开了自动布局,那么您可以选择的最低值是Xcode 5.1。

Change compatible Xcode version for XIB files