【问题标题】:Error with provisioning profile during app installation应用安装期间配置文件出错
【发布时间】:2014-12-09 21:52:23
【问题描述】:

尝试在设备上安装应用程序 (ipa) 时出现以下错误:

entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by provisioning profile 'XXXXXXXXXX'

在我使用新证书生成新的配置文件后,此错误开始出现。如果有帮助,下面是旧配置文件和新配置文件的不同部分。

旧:

<key>Entitlements</key>
<dict>
    <key>application-identifier</key>
    <string>FSKCIFJNWO.com.XXXXX.YYYY</string>
    <key>aps-environment</key>
    <string>production</string>
    <key>com.apple.developer.ubiquity-container-identifiers</key>
    <array>
        <string>FSKCIFJNWO.*</string>
    </array>
    <key>com.apple.developer.ubiquity-kvstore-identifier</key>
    <string>FSKCIFJNWO.*</string>
    <key>get-task-allow</key>
    <false/>
    <key>keychain-access-groups</key>
    <array>
        <string>FSKCIFJNWO.*</string>
    </array>
</dict>
...

新:

<key>Entitlements</key>
<dict>
    <key>keychain-access-groups</key>
    <array>
        <string>FSKCIFJNWO.*</string>
    </array>
    <key>get-task-allow</key>
    <false/>
    <key>application-identifier</key>
    <string>FSKCIFJNWO.com.XXXXX.YYYY</string>
    <key>com.apple.developer.ubiquity-kvstore-identifier</key>
    <string>FSKCIFJNWO.*</string>

    <key>com.apple.developer.icloud-services</key>
    <string>*</string>
    <key>com.apple.developer.icloud-container-environment</key>
    <array>
        <string>Development</string>
        <string>Production</string>
    </array>
    <key>com.apple.developer.icloud-container-identifiers</key>
    <array>
    </array>
    <key>com.apple.developer.icloud-container-development-container-identifiers</key>
    <array>
    </array>
    <key>com.apple.developer.ubiquity-container-identifiers</key>
    <array>
    </array>
    <key>com.apple.developer.team-identifier</key>
    <string>FSKCIFJNWO</string>
    <key>aps-environment</key>
    <string>production</string>

</dict>
...

也许我在生成配置文件时做错了。 问题:你知道如何解决这个问题吗?

【问题讨论】:

    标签: ios xcode ios-provisioning mobileprovision


    【解决方案1】:

    这是一个生产PP,据我所知没有企业帐户。 如果没有列出已注册的设备,您将无法使用此 PP 在设备上安装 IPA 版本。

    【讨论】:

    • 我只拿了我的 PP 的一部分,并且没有在我的消息中包含设备的 ID。但是我的PP有。这是我检查的第一件事。
    【解决方案2】:

    我怀疑您没有在 Apple 的开发者网站上为您的应用程序 ID 选择所有服务。检查您的设置并确保您选择了所有必要的选项。然后重新生成您的配置文件:

    另外,请确保您的 app bundle id 与 Apple 网站上的 ID 匹配。

    【讨论】:

      猜你喜欢
      • 2012-05-15
      • 2012-09-08
      • 1970-01-01
      • 2020-07-30
      • 1970-01-01
      • 1970-01-01
      • 2021-01-19
      • 2012-02-24
      • 2021-11-01
      相关资源
      最近更新 更多