Marcus Araujo Member Licensed User Longtime User Oct 16, 2019 #1 Hello everyone, this is driving me nuts... debug mode works fine. Release mode doesn't even start: it crashes while asking to allow notifications. Adhoc/debug: OK Adhoc/release: crashes at startup AppStore/release: crashes at startup* *According to AWS Device Farm error log (tested on an iPhone 8), there are two different errors: 1 - Unable to generate launch image for big2be.estancia.estan.iphone because the app has no valid launch interfaces. 2 - No valid 'aps-environment' entitlement string found for application 'big2be.estancia.estan.iphone' (null). Click to expand... I tried recreating all certificates and profiles prior to compilation in release mode, same result. Main's code (and provision files) contains aps-environment. Code: Copy #Entitlement: <key>aps-environment</key><string>production</string> Any ideas? Thanks.
Hello everyone, this is driving me nuts... debug mode works fine. Release mode doesn't even start: it crashes while asking to allow notifications. Adhoc/debug: OK Adhoc/release: crashes at startup AppStore/release: crashes at startup* *According to AWS Device Farm error log (tested on an iPhone 8), there are two different errors: 1 - Unable to generate launch image for big2be.estancia.estan.iphone because the app has no valid launch interfaces. 2 - No valid 'aps-environment' entitlement string found for application 'big2be.estancia.estan.iphone' (null). Click to expand... I tried recreating all certificates and profiles prior to compilation in release mode, same result. Main's code (and provision files) contains aps-environment. Code: Copy #Entitlement: <key>aps-environment</key><string>production</string> Any ideas? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Oct 16, 2019 #2 Use ReleaseLogger to read the logs in release mode: https://www.b4x.com/android/forum/threads/51164/#content Upvote 0
Use ReleaseLogger to read the logs in release mode: https://www.b4x.com/android/forum/threads/51164/#content
Marcus Araujo Member Licensed User Longtime User Oct 17, 2019 #3 Thank you. The problem was with the Firebase. I deleted and recreated GoogleService-Info.plist and it worked. I'm still not sure why it worked in Debug mode only. Thanks! If anyone's interested, the error is as below: `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/. Click to expand... Upvote 0
Thank you. The problem was with the Firebase. I deleted and recreated GoogleService-Info.plist and it worked. I'm still not sure why it worked in Debug mode only. Thanks! If anyone's interested, the error is as below: `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/. Click to expand...