aps-environment is always development

前端 未结 3 447
暗喜
暗喜 2021-01-31 13:14

I have created the app id with APNS enabled and I configured both development and production certificate

Now when I create entitlements it is always displaying developme

3条回答
  •  心在旅途
    2021-01-31 14:08

    You can't use a production certificate in debug/development. Even if you do it, then, when you 'Archive', Xcode will automatically set it to production (Apple reference). You can see this when you try to submit your app to iTunes connect for TestFlight/Review or for Adhoc deployment.

    Xcode 8: Xcode 8

    Xcode 9: Xcode 9

提交回复
热议问题