正确归档具有扩展程序的iOS应用程序 [英] Properly archive iOS app with extensions

查看:1063
本文介绍了正确归档具有扩展程序的iOS应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚为我的项目添加了一个新的RichNotification扩展。
现在我有myApp目标和两个目标:RichNotification和RichNotificationContent

I've just added a new RichNotification Extension to my project. Now I've got "myApp" target and two targets for: "RichNotification" and "RichNotificationContent"

当我存档App Store的主要目标时工作正常但我在尝试上传到App Store时遇到此错误:

When I archive the main target for the App Store works fine but I get this error while trying to upload to the App Store:


错误ITMS-90700:不正确的平台。你包括了iOS arm64
可执行
你的iOS套装中的myAPP.app/PlugIns/myAPPRichNotifications.appex/myAPPRichNotifications
。只能包含iOS可执行文件。

ERROR ITMS-90700: "Incorrect Platform. You included the iOS arm64 executable "myAPP.app/PlugIns/myAPPRichNotifications.appex/myAPPRichNotifications" in your iOS bundle. Only iOS executables can be included."

是否有任何特殊程序来归档具有多个扩展/目标的应用程序?特殊构建配置?

Is there any special procedure to archive an app with multiple extensions / targets? Special build config?

无法找到任何信息,我可能会搜索错误的条款。

Couldn't really find any information, I'm probably searching with the wrong terms.

推荐答案

感谢@Mikhailo Karpenko

Thanks to @Mikhailo Karpenko

我通过重新安装pod解决了这个问题
我不得不删除从项目设置中设置' ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES ',因为这是由pod iteself设置的

I solved the issue by re-installing pods And I had to remove the setting 'ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES' from the project settings as this is set by pod iteself

这篇关于正确归档具有扩展程序的iOS应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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