如何在Xcode 6中构建同时包含32位和64位的单一二进制文件

7

我按照这个stackoverflow的解决方案去做了,但是我还是收到了以下警告。

Missing 64 bit support.Starting February 1, 2015, new iOS apps uploaded to the App Store
must include 64-bit support and be built with the iOS 8 SDK, included in Xcode 6 or later.
To enable 64-bit in your project, we recommend using the default Xcode build setting of 
“Standard architectures” to build a single binary with both 32-bit and 64-bit code.

我已经选择了

 Project - Target - Build settings - Architectures - Standard Architectures(armv7,arm64). 

虽然我收到了以上警告,请帮助我解决问题。提前致谢。

2个回答

7

我也遇到了相同的问题。看起来将“arm64”添加到有效构架(也在构建设置下)中解决了这个问题。


1
这个答案荒谬 -- 有谁会知道呢!? -- 但完全正确。谢谢。 - Dan Rosenstark
请确保您输入的是 arm64,而不是 armv64... 哎呀! - John


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接