【iOS】The run destination iPhone is not valid for Running the scheme .

错误信息如下:

The run destination iPhoneSE rational is not valid for Running the scheme ‘demo1_greating’.

iPhoneSE rational’s iOS 9.3.5 doesn’t match demo1_greating.app’s iOS 10.0 deployment target. Upgrade iPhoneSE rational’s iOS version or lower demo1_greating.app’s deployment target.

%e7%89%88%e6%9c%ac%e4%b8%8d%e5%8c%b9%e9%85%8d

解决方法:这是因为运行设置的版本系统和真机的系统版本不匹配导致的,所以只需要单击工程文件,在出现的设置里面的Deployment info -》 Deployment Target中选择对应的真机的系统即可~

qq20160916-02x

❤ 点击这里 -> 订阅《PAT | 蓝桥 | LeetCode学习路径 & 刷题经验》by 柳婼

❤ 点击这里 -> 订阅《从放弃C语言到使用C++刷算法的简明教程》by 柳婼

❤ 点击这里 -> 订阅PAT甲级乙级、蓝桥杯、GPLT天梯赛、LeetCode题解离线版