[原创]Choose a destination with a supported architecture in order to run on this device.

这个问题通常会出现在更换xcode版本进行升级的时候
一般来所,用以下三种情况可以解决

1 将architecture 选项中的armv7s 或者armv6去掉,仅仅保留armv7 即可

2 如果上述方法不行,请查看project配置中是否正确配置了project name。该方法参照:

I had this problem and it turned out to be a spelling mistake in the product name in the build settings. Check all you product references are consistent in the settings and plists. Also check the product name does not contain a space or other "illegal" characters; this also causes the same error。


3 最后实在不行,关闭xcode,重启设备,删除应用重新加载,应该就好了


你可能感兴趣的:([原创]Choose a destination with a supported architecture in order to run on this device.)