我在我的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不稳定吗?还是我的一些项目设置不正确?