5.1的iOS设备上运行的程序无法找到X code ++ 4.5 SDK [英] Program run on iOS 5.1 device can't find SDK with Xcode 4.5

查看:109
本文介绍了5.1的iOS设备上运行的程序无法找到X code ++ 4.5 SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在iOS的运行我的项目5.1模拟器,它显示了

When i run my project at iOS 5.1 simulator , it shows

yld: lazy symbol binding failed: Symbol not found: _objc_setProperty_nonatomic_copy
  Referenced from: /Users/apple/Library/Application Support/iPhone Simulator/5.1/Applications/3A003E5F-2C66-494F-BCC1-C3EE82F01464/dogTree.app/dogTree
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/Foundation.framework/Foundation

和我没有5.1 SDK。但是,为什么库搜索路径是5.1不是6.0?

And I don't have 5.1 SDK. But why library search path is 5.1 not 6.0?

我所有的项目,并在iOS的6.0​​的设备上运行,但是当我在的iOS 5.0或5.1的设备然后安装,它崩溃,并显示类似下面的消息。

All my project and be run at iOS 6.0 device, but when I install then at iOS 5.0 or 5.1 device, it crash and show like the following message.

请给我一些帮助,是有必要的iOS 5.1 SDK运行iPhone 5.1模拟器?

Please give me some help, is it necessary for iOS 5.1 SDK to run iPhone 5.1 simulator?

推荐答案

我有同样的问题,我发现我只是忘了更改目标平台,在包含工程。 X $ C $ç升级时自动切换目标到最新的iOS。只是改变了目标定这个项目列入

I had the same problem and found that I had simply forgotten to change the target platform in an included project. Xcode automatically switches target to the latest iOS when upgrading. Just changing the target for the included project fixed this.

这篇关于5.1的iOS设备上运行的程序无法找到X code ++ 4.5 SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆