-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceI let codemagic generate certificates and identities automatically. I checked these have Push Notifications capabilities at developer console. Since I develop in Linux, I don't use XCode, so I manually added the following code to my Info.plist file:
Built and publish process goes well. However, right after the build is published I get an email from Apple about 'Missing Push Notification Entitlement'. And the App does not run in TestFlight. Shows a blank screen. Expected resultsNo complains about 'Missing Push Notification Entitlement' and a working App. Actual resultsApple notifies me about 'Missing Push Notification Entitlement' and the App does not do anything in TestFlight (blank screen). Build id (optional)64d2f5794f658a2519a73e20 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello @raenk I reproduced it and got the emails too. Yes, it should be rather simple fix in Xcode, but as you are working with Linux, try to do it this way.
Give the build another go, and see if you still have issues. If you still run into any issues, let me know. |
Beta Was this translation helpful? Give feedback.
-
@kulakarla It worked! Although I couldn't push to the repo directly (auth problems), I managed to upload the modified ios folder from the VM to dropbox and merge it into my project locally. Many thanks again! |
Beta Was this translation helpful? Give feedback.
Hello @raenk
I reproduced it and got the emails too. Yes, it should be rather simple fix in Xcode, but as you are working with Linux, try to do it this way.
First, remove your above added info.plist value.
Users/builder/clone/PROJECTNAME/ios/FILENAME.xcodeproj
with XcodeRunner
, then on the right sideSigning and Capabilities
+ Capability
sign/button beneath it. Click it, search for Push Notifications and add the capability. This makes some changes in the iOS specific files./Users/builder/clone
. (your…