简体   繁体   English

iOS 6.1设备上的应用程序未使用基本sdk 7.0和部署目标6.1进行编译

[英]App on device with iOS 6.1 not compiling with base sdk 7.0 & deployment target 6.1

In my project target settings, i have set the base SDK to ios 7.0 and deployment target to ios 6.1. 在我的项目目标设置中,我已将基本SDK设置为ios 7.0,将部署目标设置为ios 6.1。

When i test my app with the simulator with iOS 6.1 or iOS 7.0, everything is fine. 当我使用iOS 6.1或iOS 7.0的模拟器测试我的应用程序时,一切都很好。 The problem is that I just connected my iPhone 5 with iOS 6.1 installed and the project does not compile because of some iOS 7.0 calls... 问题是我刚安装了我的iPhone 5并安装了iOS 6.1,因为一些iOS 7.0调用,项目无法编译...

Any suggestions? 有什么建议么?

Thanks to L14M333, when i connect my device, xCode shows display 2 times my device, the first one correspond to iOS 6.1 runtime, and the second one to iOS 7.0 runtime. 感谢L14M333,当我连接我的设备时,xCode显示我的设备显示2次,第一个对应iOS 6.1运行时,第二个对应iOS 7.0运行时。

I just have to select the right one. 我只需选择正确的一个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM