【发布时间】:2012-01-26 14:10:00
【问题描述】:
在我的 MacBook Air 上的新 OS X Lion 上安装了 Xcode 4.2,但无法编译我的旧项目。创建新的单窗口项目(基于视图的应用程序) - 不做任何更改,尝试编译它并得到错误:
CompileXIB Test3/en.lproj/ViewController.xib
cd /Volumes/MacExt/Projects/iOS/Test3
setenv IBC_MINIMUM_COMPATIBILITY_VERSION 5.0
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Developer/usr/bin/..
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/lial/Library/Developer/Xcode/DerivedData/Test3-fvcbdbtitujnwabzsgjgcbugfmoy/Build/Products/Debug-iphonesimulator/Test3.app/en.lproj/ViewController.nib /Volumes/MacExt/Projects/iOS/Test3/Test3/en.lproj/ViewController.xib
--sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
Command /Developer/usr/bin/ibtool failed with exit code 255
尝试打开 xib 时选择出现内部错误:崩溃并继续
Xcode encountered an internal logic error. Choose "Continue" to continue running Xcode in an inconsistent state. Choose "Crash" to halt Xcode and file a bug with Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data.
请帮助我,我该如何解决这个问题? Xcode不稳定吗?还是我的某些项目设置不正确?
【问题讨论】:
-
忘了说:我在 iPhone 5.0 模拟器上运行,部署目标相同
-
确保 xib 的源代码在
部分中列出了所有必要的文件。
标签: xcode compiler-errors xib