Cài đặt Xcode 4.2 trên OS X Lion mới trên MacBook Air của tôi và không thể biên dịch các dự án cũ của tôi. Tạo dự án đơn cửa sổ mới (ứng dụng xem dựa) - không thực hiện bất kỳ thay đổi, chỉ cần cố gắng để biên dịch nó và đã nhận lỗi:Xcode 4.2: Lỗi biên dịch (Command/Developer/usr/bin/ibtool không thành công với mã thoát 255)
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
Đang cố gắng để mở xib bị Lỗi nội bộ với sự lựa chọn: Crash và Tiếp tục
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.
Hãy giúp tôi, làm cách nào để khắc phục sự cố này? Xcode có ổn định không? Hoặc một số dự án của tôi có cài đặt không chính xác?
Hãy quên nói: Tôi chạy trên iPhone 5.0 Simulator với cùng một mục tiêu Triển khai – LIAL
bất kỳ giải pháp nào ...? –
Đảm bảo rằng Mã nguồn cho xib có tất cả các tệp cần thiết được liệt kê trong phần. –
user1459524