【问题标题】:Xcode keeps on crash on modification of XIB file in interface builderXcode在界面生成器中修改XIB文件时不断崩溃
【发布时间】:2013-04-03 23:02:42
【问题描述】:

我正在尝试修改我的 IOS 项目中的一个 xib 文件,尝试拖动 UILabel 或任何其他元素时 xcode 立即崩溃..任何线索将不胜感激..

以下是崩溃报告..

Process:         Xcode [22769]
Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         4.3.2 (1177)
Build Info:      IDEApplication-1177000000000000~6
App Item ID:     497799835
App External ID: 7171108
Code Type:       X86-64 (Native)
Parent Process:  launchd [22632]

Date/Time:       2013-04-03 20:12:57.262 +0530
OS Version:      Mac OS X 10.7.5 (11G56)
Report Version:  9

Interval Since Last Report:          1804 sec
Crashes Since Last Report:           2
Per-App Interval Since Last Report:  244 sec
Per-App Crashes Since Last Report:   2

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 4E2002
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-    2182/Framework/Document/IBDocument.m:6465
Details:  Cannot turn on autolayout for a document that doesn't support it:  <IBCocoaTouchDocument: 0x40230c320>
Object:   <IBCocoaTouchDocument: 0x40230c320>
Method:   -setUseAutolayout:
Thread:   <NSThread: 0x40010a1e0>{name = (null), num = 1}
Hints:   None

【问题讨论】:

    标签: xcode interface-builder


    【解决方案1】:

    问题在于自动布局,请检查您的部署目标需要为 6 或更高。

    【讨论】:

    • 部署目标 6 没有选项。最大是 5.1。看来我需要更新我的 xcode。还有其他方法吗?我可以在某处禁用自动布局吗?
    • 是的,您可以禁用自动布局检查此页面以获取更多信息goodbyehelicopter.com/2012/02/…
    猜你喜欢
    • 2011-05-30
    • 2011-04-16
    • 2011-09-06
    • 1970-01-01
    • 2015-01-29
    • 1970-01-01
    • 1970-01-01
    • 2010-12-30
    • 1970-01-01
    相关资源
    最近更新 更多