Firebase Unity SDK 4.0.2 with Unity 5.6.2p3

446 views
Skip to first unread message

Alberto Barbosa

unread,
Jul 24, 2017, 8:03:01 PM7/24/17
to Firebase Google Group
Hello!

The Database quickstart sample is not working on iOS. It is working fine on Android and the Editor.

The only error message I see is:

The default Firebase app has not yet been configured. Add `[FIRApp configure];

Unfortunately if I manually added this line on the xCode project, the project would still not work.

Does anybody has any idea of what might be wrong? Here is my setup:

Unity 5.6.2p3
xCode 8.3.3
iOS - Tried on 9 and 10

Thanks!

Here is the full log:


2017-07-24 11:56:42.512 five[2693:408875] -> registered mono modules 0x269f080
2017-07-24 11:56:42.638 five[2693:408875] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
-> applicationDidFinishLaunching()
Mono path[0] = '
/private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed'
Mono config path = '
/private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed'
Player data archive not found at `/private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/data.unity3d`, using local filesystem2017-07-24 11:56:42.657 five[2693:408875] Metal GPU Frame Capture Enabled
2017-07-24 11:56:42.658 five[2693:408875] Metal API Validation Disabled
-> applicationDidBecomeActive()
2017-07-24 11:56:42.958 five[2693] <Error> [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A8X GPU
Initialize engine version: 5.6.2p3 (b95d8ca7b219)
Begin MonoManager ReloadAssembly
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/UnityEngine.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/UnityEngine.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/System.Core.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/System.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Mono.Security.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/System.Configuration.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/System.Xml.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/System.Security.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Mono.Posix.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Assembly-CSharp.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Assembly-CSharp.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Firebase.App.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Unity.Tasks.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Unity.Compat.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Google.MiniJson.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Firebase.Auth.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Firebase.Database.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Google.Sharpen.dll (this message is harmless)
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/UnityEngine.UI.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/UnityEngine.UI.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/UnityEngine.Networking.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/UnityEngine.Networking.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Firebase.Database.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Firebase.Database.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Google.MiniJson.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Google.MiniJson.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Google.Sharpen.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Google.Sharpen.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Unity.Compat.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Unity.Compat.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Unity.Tasks.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Unity.Tasks.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Firebase.App.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Firebase.App.dll into Unity Child Domain
Platform assembly: /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Firebase.Auth.dll (this message is harmless)
Loading /private/var/mobile/Containers/Bundle/Application/D0D271C3-A459-425D-8983-0091A47AE95C/five.app/Data/Managed/Firebase.Auth.dll into Unity Child Domain
- Completed reload, in  0.041 seconds
2017-07-24 11:56:43.366 five[2693] <Error> [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
UnloadTime: 1.639333 ms
2017-07-24 11:56:45.514 five[2693] <Warning> [Firebase/Analytics][I-ACS005000] The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
2017-07-24 11:56:45.517 five[2693] <Notice> [Firebase/Analytics][I-ACS023007] Firebase Analytics v.4001000 started
2017-07-24 11:56:45.517 five[2693] <Notice> [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2017-07-24 11:56:45.520 five[2693] <Notice> [Firebase/Analytics][I-ACS003007] Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist
2017-07-24 11:56:45.543 five[2693] <Warning> [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.
2017-07-24 11:56:45.544 five[2693] <Notice> [Firebase/Analytics][I-ACS023012] Firebase Analytics enabled
Setting up 1 worker threads for Enlighten.
  Thread -> id: 10cde000 -> priority: 1
Logged in
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)


Michael Hopke

unread,
Jul 27, 2017, 8:07:58 PM7/27/17
to Firebase Google Group
Hey Alberto, 

Unfortunately I don't have a resolution for this item, but wanted to let you know I'm also experiencing this problem. I'm using Unity 2017.1.0f3.

If you come across a solution I would love to hear about it!

Stewart Miles

unread,
Jul 27, 2017, 8:15:24 PM7/27/17
to Firebase Google Group
Hi, what is not working exactly?

The message you cite "The default Firebase app has not yet been configured. Add `[FIRApp configure];" is probably likely a spurious warning from the iOS SDK.  We're working on silencing this type of warning when the iOS SDK is used from the C++ and Unity SDKs at the moment.

Cheers,
Stewart

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c1c9b990-c504-4d98-9518-70596c8b3e86%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages