1

我正在尝试修改我的 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
4

1 回答 1

3

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

于 2013-04-03T15:02:42.647 回答