错误 ITMS-9000:“架构无效:包含应用程序扩展和框架的应用程序必须支持 arm64 [英] ERROR ITMS-9000: "Invalid architecture: Apps that include an app extension and a framework must support arm64

查看:30
本文介绍了错误 ITMS-9000:“架构无效:包含应用程序扩展和框架的应用程序必须支持 arm64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Itunes Connect 上上传带有自定义键盘扩展的构建,但是当我要通过应用程序加载器将它上传到 Itunes Connect 时,它显示以下错误

I want to upload build with Custom keyboard extension on Itunes Connect But when I am going to upload it on Itunes Connect through Application loader its show me following error

ERROR ITMS-9000: "Invalid architecture: Apps that include an app extension and a framework must support arm64

我已经在键盘扩展目标和应用程序目标中为Armv7"、armv7s、arm64 添加了有效架构.但我仍然面临同样的问题

I have added valid architecture to "Armv7",armv7s,arm64 in keyboard extension target and app target as well.but I am still facing same problem

推荐答案

我的问题是,我的 iPhone 6 连接到 Xcode,所以所有 swift 框架都只构建了 arm64 版本.

My problem was, that I had my iPhone 6 connected to Xcode so all swift frameworks did only build the arm64 version.

我断开了 iPhone 6 的连接并选择了 iOS 设备作为目标.

I disconnected my iPhone 6 and selected iOS Device as Destination.

之后错误消失了.

您可以做的另一件事是检查创建的存档是否真的适用于所有必需的架构.

Another thing you could to is to check if the created Archive is really for all required architectures.

您可以使用命令行命令检查存档中的二进制文件:

You can check the the binary files in your Archive with the commandline command:

lipo -info YourBinary

输出应该是这样的:

Architectures in the fat file: YourBinary are: armv7 arm64

这篇关于错误 ITMS-9000:“架构无效:包含应用程序扩展和框架的应用程序必须支持 arm64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆