Hi there,
we are developing an application using Firebase Messenging. Although everything runs smoothly when launching the application from Xcode to a dev iPhone (we can get FCM token and receive push notifications), we also get an AMFI issue when installing the application from Testflight :
AMFI: constraint violation /private/var/containers/Bundle/Application/[...]/App.app/Frameworks/FirebaseCore.framework/FirebaseCore has entitlements but is not a main binary
The application does not crash, but Firebase library is broken.
11.9.0 - [FirebaseMessaging][I-FCM023014] Error while reading embedded mobileprovision Error Domain=NSCocoaErrorDomain Code=260 "The file “embedded.mobileprovision” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/private/var/containers/Bundle/Application/[...]/App.app/embedded.mobileprovision, NSURL=file:///private/var/containers/Bundle/Application/[...]/App.app/embedded.mobileprovision, NSUnderlyingError=0x3007cde00 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
Can anyone help ? We've been struggling with this for a long time and do not see what we are doing wrong
Topic:
App & System Services
SubTopic:
General
Tags: