我有一个在xcode 4上运行良好的项目,我更新到4.2和ios5,现在无法编译!
我得到:
Ld "build/Debug-iphoneos/Send Video.app/Send Video" normal armv7
cd "/Volumes/Untitled 1/iOS/projects/SharedMomentsApp"
setenv IPHONEOS_DEPLOYMENT_TARGET 4.0
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk "-L/Volumes/Untitled 1/iOS/projects/SharedMomentsApp/build/Debug-iphoneos" "-L/Volumes/Untitled 1/iOS/projects/SharedMomentsApp/SharedMomentsApp" "-L/Volumes/Untitled 1/iOS/projects/SharedMomentsApp" "-L/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.5 (8L1)/Symbols/usr/lib" "-F/Volumes/Untitled 1/iOS/projects/SharedMomentsApp/build/Debug-iphoneos" -filelist "/Volumes/Untitled 1/iOS/projects/SharedMomentsApp/build/SharedMomentsApp.build/Debug-iphoneos/SharedMomentsApp.build/Objects-normal/armv7/Send Video.LinkFileList" -dead_strip /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib/libxml2.2.dylib -miphoneos-version-min=4.0 -lz -lxml2.2 -framework AssetsLibrary -framework CoreMedia -framework AVFoundation -framework CoreLocation -framework MapKit -framework QuartzCore -framework AddressBookUI -framework AddressBook -framework SystemConfiguration -framework MediaPlayer -framework MobileCoreServices -lsqlite3.0 -framework UIKit -framework Foundation -framework CoreGraphics -framework CoreData -o "/Volumes/Untitled 1/iOS/projects/SharedMomentsApp/build/Debug-iphoneos/Send Video.app/Send Video"
命令/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++失败,退出代码为1
其他人以前有这种问题吗?
最佳答案
尝试删除派生数据:
转到管理器,然后选择顶部的项目。 “派生数据”项右侧有一个“删除”按钮。
关于iphone - 更新到xcode 4.2和ios5后编译错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/7918966/