This app has invalid architecture, and may have been built with invalid build settings or incompatible tools

这两天iOS项目上线,中途遇到很多问题,说一下最坑的一个吧!哈哈:
按正常的流程打包上传都没问题,可是上传的包一会儿(两分钟左右),然后发了如下信息到我的邮箱。

Dear Developer,

We identified one or more issues with a recent delivery for your app, “** ** ***”. Please correct the following issues, then upload again.

Invalid architectures – This app has invalid architecture, and may have been built with invalid build settings or incompatible tools. Try rebuilding the app with the latest Xcode version. If you are using third party development tools, contact the provider.

Best regards,

The App Store Team

真的说的很笼统,根本看不出原因,猜测,以为是Xcode版本的原因,于是就把电脑系统还有Xcode升级,再来一遍,还是如此,来来回回折腾了三四遍,才找出原因:

原来是项目版本太低了,现在最低支持8.0,而我选的是填6.0,这真是太坑了,改完之后在打包上传就OK了,就算有其他原因导致上传失败,也会报错的(没改之前不会😄)。

Leave a Reply

Your email address will not be published. Required fields are marked *