iOS Team Provisioning Profile 是否与开发 aps 环境兼容?

Is the iOS Team Provisioning Profile compatible with the development aps-environment?

我正在尝试确认 ipa 已准备好用于开发 Apple 推送通知。

我知道如果使用分发(生产)供应配置文件签名,可能会破坏开发 aps-environment 推送通知,但是 iOS 团队供应配置文件呢?

我可以用这个签署应用程序并仍然期望开发 aps-environment 推送通知工作吗?

以下是 ipa embedded.mobileprovision 的相关摘录:

<key>Entitlements</key>
<dict>
    <key>keychain-access-groups</key>
    <array>
        <string>TEAMIDHERE.*</string>       
    </array>
    <key>get-task-allow</key>
    <true/>
    <key>application-identifier</key>
    <string>TEAMIDHERE.com.myapp.dev</string>
    <key>com.apple.developer.team-identifier</key>
    <string>TEAMIDHERE</string>
    <key>aps-environment</key>
    <string>development</string>
</dict>
<key>ExpirationDate</key>
<date>2018-07-31T22:07:59Z</date>
<key>Name</key>
<string>iOS Team Provisioning Profile: com.myapp.dev</string>

是的,您可以使用提到的配置文件进行签名,并期望推送通知能够正常工作。 但是你必须知道只有供应配置文件不会对苹果推送通知做出贡献。您还应该将开发推送证书部署到将推送通知发送给用户的服务器或服务。