Error Domain = NSCocoaErrorDomain Code = 3000 "the application's" aps-environment "authorization string" UserInfo = 0x17316e940 {NS "not found
Error Domain = NSCocoaErrorDomain Code = 3000 "the application's" aps-environment "authorization string" UserInfo = 0x17426e940 {NSLocalizedDescription = No application's "aps" Found -environment "authorization string}
1. Update the Certificate in X-code: Xcode> Preferences> Accounts> pick your Account> pick your Team> View Details. Click Refresh in the lower left corner. The Development Certificate of signing indentities is available.
2. before configuring the push certificate, set the enable of the project APNs to yes. if you have created a certificate before enableAPNs, You need to delete all the certificates (X-code, keychain, iTunesConnect) in your system ). then create a new one.
2.1 first create an application on the apple website. (create an App ID ).
2.2 enable APNs
2.3 create a certificate
3. view the configuration in the project:
4. Ultimate Solution: generate a new certificate to generate the product certificate. It may take some time for the new certificate to take effect. Please wait patiently.