【发布时间】:2011-10-27 16:11:20
【问题描述】:
我有一个在 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
以前有没有人遇到过这种问题?
【问题讨论】:
-
您需要发布实际的错误信息
-
这就是它在我的控制台中显示的全部内容。如何获取更多信息?
-
当它失败时,它会尝试链接。您是否已经在 xcode 中尝试过
clean? -
是的,好几次。我怎么知道哪个链接失败了?