“运行目标iOS设备对于运行方案无效” [英] "The run destination iOS Device is not valid for running the scheme"

查看:84
本文介绍了“运行目标iOS设备对于运行方案无效”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在iPhone 5 / iOS 6上运行我的应用程序,但是当我尝试在iPhone 4S / iOS6上运行它时,我得到运行目标iOS设备无法运行NN方案。不包含可为运行指定设备支持的体系结构构建的可构建项目。

I've been running my app on an iPhone 5 /iOS 6, but when I try to run it on an iPhone 4S / iOS6 I get "The run destination iOS Device is not valid for running the scheme NN. The Scheme contains no buildables that can be built for the architectures supported by the run designation device".

我已查看过此前的帖子,但它们涉及部署目标的问题。
在我的情况下,我将Base SDK设置为6.1,将Deployment Target设置为5.0。

I've looked at previous postings on this but they involve issues with the Deployment Target. In my case I've got the Base SDK set to 6.1 and the Deployment Target set to 5.0.

iPhone 4的iOS版本为6.0.1。

The iPhone 4 has got iOS version 6.0.1.

推荐答案

这是XCode中的一个错误,我关闭并重新打开Xcode并开始工作。

It was a bug in XCode, I closed and reopened Xcode and it started working.

我已经多次注意到这种事情,现在Xcode和其他问题一样多了,这个工具如此狡猾,令人非常沮丧。

I've noticed this sort of thing many many times now with Xcode with other problems, its very frustrating that the tool is so dodgy.

这篇关于“运行目标iOS设备对于运行方案无效”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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