ios - 如何创建具有权利的新配置文件?

标签 ios xcode app-store-connect

  • 我正在开发一个应用程序:com.myco.foo
  • 它使用“关联域”
  • 由于此错误,我无法在实体 iPhone 上运行该应用:

无法对“我的应用程序”进行代码签名。没有任何有效的配置文件允许指定的权利:com.apple.developer.associated-domains。

我如何创建一个新的配置文件来签署它?

当我尝试通过执行以下操作创建自己的时:

我尝试在设备上运行,但出现错误:

标识符为“com.myco.foo”的 App ID 不可用。

当我将项目应用程序 ID 更改为 com.myco.foo2 时,我得到了原始错误。

最佳答案

首先,我会说为您的应用程序重新生成所有开发(或分发,如果您正在尝试存档)配置文件。

然后,添加关联的域功能。

来自Adding Capabilities Apple 应用分发指南部分:

To enable associated domains

  1. In the Capabilities pane, if Associated Domains isn’t enabled, click the switch in the Associated Domains section.

  2. Click the Add button (+) at the bottom of the Domains table.

  3. Double-click the placeholder text in the table, and enter the domain name you want to add.

Associated Domains

关于ios - 如何创建具有权利的新配置文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39362274/

相关文章:

javascript - 如何在 Swift 中将 javascript console.log 打印到 println() 到 Xcode 调试器?

ios - 居中对齐的 UITextfield 在点击时将其占位符向左更改

ios - iOS 应用程序崩溃时的内存转储

iphone - 我的 iOS 应用程序名称中有一个 +。因此 bundle 无效。需要帮助解决

iOS ARToolKit Xcode 实现

ios - 使用 dispatch_async() 避免 View 阻塞的解决方法是什么

iPhone 模拟器在应用程序启动时崩溃

ios - 将新版本推送到 TestFlight 时,iOS 应用程序中的 Appicon 没有改变

ios - 本地化描述,英文截图

ios - 注册远程通知在 Xcode 6 中不起作用