Choose a destination with a supported architecture in order to run on this device

Choose a destination with a supported architecture in order to run on this device.

尼玛的这个问题折磨过我两次,公司用的是最新4.4版本的xcode,而我家里用的是4.3版本的,从svn更新工程到公司电脑后,就报这种错误。

给的提示信息完全不着边际。

无意看到一哥们也有种问题,地址http://www.krunk4ever.com/blog/tag/xcode-4-4-1/


重点是这句:

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。


我的工程的问题是没在PROJECT配置中设置product name。

尼玛的4.3怎么就是好的!

你可能感兴趣的:(SVN,xcode,Build)