更新到 xcode 4.2 和 ios5 后编译错误

发布于 2024-12-12 06:16:51 字数 1795 浏览 0 评论 0原文

我有一个项目在 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"

Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ failed with exit code 1

还有其他人以前遇到过此类问题吗?

I have a project that has been running great on xcode 4, I updated to 4.2 and ios5 and now it wont compile!
I get:

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"

Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ failed with exit code 1

Anyone else have this sort of issue before?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

匿名的好友 2024-12-19 06:16:51

尝试删除派生数据:
转到管理器并选择顶部的项目。 “派生数据”项目右侧有一个删除按钮。

Try deleting the derived data:
Go to Organizer and select Projects at top. There's a Delete button to the right of the "Derived Data" item.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文