gabrimatic / restart_app

A Flutter plugin that helps you to restart the whole Flutter app with a single function call by using native APIs.
https://pub.dev/packages/restart_app
MIT License
76 stars 71 forks source link

ipa build fails with requires a provisioning profile message #39

Open antony-amdl opened 5 days ago

antony-amdl commented 5 days ago

I have a working app that uses firebase FCM for messaging. I am targeting iOS (iPhones) only for now. The app has been working fine in all situations (simulator, connected iPhone, TestFlight, and AppStore). It produces and consumes (remote) notifications fine with the help of firebase_messaging lib.

Now I am trying the restart_app lib. But not able to build ipa. I get the error

Encountered error while creating the IPA: error: exportArchive "Runner.app" requires a provisioning profile with the Push Notifications feature.

I am not able figure out how to fix it.

At the moment my best guess is there is some kind of conflict between firebase FCM lib firebase_messaging and restart_app

antony-amdl commented 5 days ago

Please help

antony-amdl commented 5 days ago

Please ignore - I keep getting error even after revert :( The xcode capabilties does show push