简体   繁体   中英

APNS aps-environement-Entitlement for Testflight Version / Production build of App

Something strange is happening currently in one of the apps i'm developing.

While developing the APNS Pushtoken could be obtained properly. As soon as I pushed the app for testflight internal testing it doesn't work anymore.

The well-known error is throwed: 'APNS Push token - No valid aps-environement-entitlement whatever could be found'

I usually solved this error through refreshing all the mobile provisioning profiles in XCode, but this doesn't work in that case.

在此处输入图片说明

The App ID is configured properly for push notifications production and development.

在此处输入图片说明

Any Ideas? Would really be glad.

The problem was that the provisioning profile was created before adding the Push Notifications to the App ID. Creating a new Provisioning Profile and download it through XCode solved it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM