在我的MacBook Air上新的old上安装了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不稳定吗?还是我的一些项目设置不正确?
发布于 2014-10-24 12:17:38
我也经历过同样的事情。结果发现,由于git合并,故事板中出现了一个重复的UILabel。显然,如果两个UI元素具有相同的内部ID,Xcode就会崩溃。
我找出负责任问题的方法是:
。
https://stackoverflow.com/questions/8612273
复制相似问题