no valid aps-environment entitlement string found for application

Error in application:didFailToRegisterForRemoteNotificationsWithError: no valid aps-environment entitlement string found for application

have tried out the below commands

% codesign -d --entitlements - /path/to/your.app

% security cms -D -i /path/to/your.app/embedded.mobileprovision

and it seems both are working fine,

Im currently developing react native app with expo and firebase for notifications

this works fine when im running it via installing the app from testflight, but the issue occurs when i test in testflight or while the apple team reviewing my app

My entitlements file

  <dict>
    <key>aps-environment</key>
    <string>production</string>
  </dict>
</plist>

Adding to the above, this issue occurs only when uploading the IPA file in browser stack tool and not while installing the app via testflight in the browser stack/real device

this issue occurs only when uploading the IPA file in browser stack tool

What do you mean by “browser stack tool”?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

no valid aps-environment entitlement string found for application
 
 
Q