iOS Question Could not locate configuration file: 'GoogleService-Info.plist'.

fabton1963

Member
Licensed User
Hello,
I just create a new app with firebase messaging support, following the Erel tutorial,
I download the GoogleService-Info.plist from Firebase console and I copied it in files/special folder (lowercase).
When I try to run my app in debug mode using B4i Bridge it crash when reach the "analytics.Initialize" istruction and in the log I see the following messages

Could not locate configuration file: 'GoogleService-Info.plist'.
[FIRApp configure] could not find a valid GoogleServices-Info.plist in your project. Please download one from https://console.firebase.google.com/.

What I'm missing?
Thanck you all.
 

fabton1963

Member
Licensed User
upload_2019-4-26_13-38-14.png


Cleaned,but I get the same error.

B4X:
#Entitlement: <key>aps-environment</key><string>production</string>
'use the distribution certificate
#CertificateFile: ios_distribution.cer
'use the provision profile that goes with the explicit App Id
    
#ProvisionFile: erapraveneto.mobileprovision

Private Sub Application_Start (Nav As NavigationController)
   
   Log("start application")
   analytics.Initialize
Log:

Application_Start
start application
Could not locate configuration file: 'GoogleService-Info.plist'.
Error occurred on line: 64 (Main)
[FIRApp configure] could not find a valid GoogleServices-Info.plist in your project. Please download one from https://console.firebase.google.com/.
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 0
ERAPRA Veneto +[FIRApp configure] + 302
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 292
ERAPRA Veneto +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1784
ERAPRA Veneto -[B4IShell runVoidMethod] + 210
ERAPRA Veneto -[B4IShell raiseEventImpl:method:args::] + 2042
ERAPRA Veneto -[B4IShellBI raiseEvent:event:params:] + 1328
ERAPRA Veneto __33-[B4I raiseUIEvent:event:params:]_block_invoke + 74
libdispatch.dylib <redacted> + 10
libdispatch.dylib <redacted> + 22
libdispatch.dylib <redacted> + 1524
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 1574
CoreFoundation CFRunLoopRunSpecific + 520
CoreFoundation CFRunLoopRunInMode + 108
GraphicsServices GSEventRunModal + 160
UIKit UIApplicationMain + 144
ERAPRA Veneto main + 106
 
Top