aps-environment is always development

前端 未结 3 448
暗喜
暗喜 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:15

    XCode 10.2:

    If you change your target to "Generic iOS Device" before Archive it will set the aps-environment variable to production. If you archive with the target set to your device it will archive with the aps-environment variable set to development.

提交回复
热议问题