Apple Store提交失败,错误为ITMS-90046,但Associated Domains不在权利之列 [英] Apple Store submit fails with Error ITMS-90046, but Associated Domains is not among entitlements

查看:1773
本文介绍了Apple Store提交失败,错误为ITMS-90046,但Associated Domains不在权利之列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我第一次构建我的应用程序时Watchkit应用程序,我启用了Associated Domains功能。我已经在watchkit扩展和配套应用程序的功能面板中禁用它,并确认密钥已从每个info.plist中删除。

When I first built my app & Watchkit app, I had the "Associated Domains" capability enabled. I've disabled it in the "Capabilities" panel of both the watchkit extension and the companion app, and confirmed that the key is gone from each info.plist.

我已经转到Apples的证书,标识符和配置文件页面,为每个Watchkit应用程序,扩展程序和应用程序选择了应用程序ID,未选中已关联 域,为每个配置文件重新生成配置文件,下载并安装它们。

I have gone to Apples' "Certificates, Identifiers and Profiles" page, selected the App ID for each the Watchkit App, The Extension, and the App, unticked "Associated Domains", regenerated the provisioning profiles for each, downloaded and installed them.

我已完成Ctrl-Shift-Command-K完全清理,重启和重建。在对appstore进行总结时,我收到以下错误消息。

I've done a Ctrl-Shift-Command-K complete clean, reboot, and rebuild. On sumbission to the appstore I get the error message below.

我在xcode中进行了项目搜索,但找不到com.apple.developer.associated-domains键。我搜索了构建目录,nada。我不相信这个密钥实际上存在于我的代码中,但iTunesConnect似乎认为它在那里并设置为'*'。

I have done a project search within xcode and cannot find a com.apple.developer.associated-domains key. I've searched the build directory, nada. I don't believe this key actually exists in my code, and yet iTunesConnect seems to think its there and set to '*'.

推荐答案

我认为这是一个错误。

I通过简单地在随附应用程序和Watchkit扩展的Entitlements.plist中插入一个新的Array项来管理解决方法:com.developer.apple.associated-domains和webcredentials:string的有效域。虽然这不会产生任何实际效果,因为我的配置文件和应用程序或扩展程序的功能选项卡都没有为关联域启用,但它停止了itunesconnect上的任何代码扫描程序因为不存在的键绊倒无效值*而停止。

I managed a workaround by simply inserting a new Array item in the Entitlements.plist of both the companion app and the Watchkit extension: "com.developer.apple.associated-domains" and a valid domain for the webcredentials: string. While this will have no practical effect as neither my provisioning files nor the Capabilities tab of the app or extension are enabled for associated domains, it stopped whatever code scanner at itunesconnect was tripping over an invalid value of "*" for the non-existent key.

这篇关于Apple Store提交失败,错误为ITMS-90046,但Associated Domains不在权利之列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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