本文介绍了错误 ITMS-9000:“不支持的架构.您的可执行文件包含不受支持的架构“[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)
//:配置=调试
ONLY_ACTIVE_ARCH = 是
//:配置=发布
ONLY_ACTIVE_ARCH = 否

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]""的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 07:20