错误ITMS-9000:“不支持的体系结构。您的可执行文件包含不受支持的体系结构'[x86_64,i386]'" [英] ERROR ITMS-9000: "Unsupported architectures. Your executable contains unsupported architectures '[x86_64, i386]'"
问题描述
无法发送itunesconnect新版本的应用程序。虽然上周发生了同样的版本发送。在代码中,我只更改了一个按钮的名称,不再进行更改。
但总是会收到错误:
It is impossible to send in itunesconnect new version of the application. Although last week, the same version send happened. In the code, I just changed the name of a button, no more changes are not made where.
But always get error:
错误ITMS-9000:不支持的体系结构。您的可执行文件包含不受支持的体系结构 [x86_64,i386]'
在我的项目中 - >构建设置:
ARCHS = $(ARCHS_STANDARD_32_BIT)
//:configuration = Debug
ONLY_ACTIVE_ARCH = YES
//:configuration = Release
ONLY_ACTIVE_ARCH = NO
$
VALID_ARCHS = armv7 armv7s
In my project -> Build Settings:
ARCHS = $(ARCHS_STANDARD_32_BIT)
//:configuration = Debug
ONLY_ACTIVE_ARCH = YES
//:configuration = Release
ONLY_ACTIVE_ARCH = NO
VALID_ARCHS = armv7 armv7s
推荐答案
查看Daniel上这个光滑的解决方案Kennett的博客 - 它对我来说非常适合我使用SpritzSDK,我遇到了类似的问题。
Check out this slick solution on Daniel Kennett's blog - it worked perfectly for me with the SpritzSDK, which I had similar issues with.
他提供了一个脚本,你可以插入你的构建阶段去除不需要的架构作为最后一步 - 不会破坏模拟器,并且iTunesConnect在第一次尝试时也批准了我的上传。
He supplies a script you can drop-in to your build phases to strip out the unwanted architectures as a last step - doesn't break the simulator, and iTunesConnect approved my upload as well on the first try.
http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/
这篇关于错误ITMS-9000:“不支持的体系结构。您的可执行文件包含不受支持的体系结构'[x86_64,i386]'"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!