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

标签 iphone ios xcode ios5

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

相关文章:

android - Firebase 分析 - 如何在事件详细信息 View 中查看所有用户属性

ios - 如何从 Storyboard 中找到 UI 按钮的操作?

ios - swift 3/Alamofire : Cant load the table with the data

iphone - 如何将裸 CALayer 作为 "subview"添加到 UIView?

ios - 如何在 UIScrollview 中重新排列和删除 UIView,就像在 iOS 主屏幕中重新排列应用程序一样

iphone - 带有 AVPlayer 的音频流

ios - 使用 QuickTime 从 iPhone 捕获屏幕会禁用设备上的声音

ios - MLkIT的文本识别不识别非英文文本

ios - TableView 未知阴影错误

ios - 自定义高度未应用于 UITableView 原型(prototype)单元格