Unable to make Unity Cloud Build using Firebase Unity SDK 5.5.0 Auth module

1,510 views
Skip to first unread message

je...@arctichazard.com

unread,
Mar 8, 2019, 11:04:27 AM3/8/19
to Firebase Google Group

Firebase Unity SDK 5.5.0
Unity 2018.3.7f
.NET 4.x api compatibility
Google.IOSResolver_v1.2.102.0


  • I installed the unitypackage for Firebase Auth
  • Downloaded both google-services.json and GoogleService-Info.plist from the Firebase console and placed both files in the Assets/Firebase folder
  • Deleted Unity.Compat and Unity.Tasks within the Parse/Plugins folder and kept the dotNet45 versions

The app works in the editor, builds fine for android, but fails when making iOS build in Unity Cloud.


When making the build in Unity Cloud the IOSResolver within Unity-jar-resolver system seemingly skips files it shouldn't and I don't know how to control it.


Some of the files get added, but a bunch of them get skipped, at least according to the log.


Skipping adding source file Headers/Private/Firebase/Firebase.h to Xcode project as it is not part of the pod project


Then later in the log this error gets printed for all files that got skipped.

Error (Not a directory) occured whilst enumerating /BUILD_PATH/geddit.geddit3.ios-development/temp.XXXXXX20190308-4875-1wum1qu/Pods/Headers/Private/Firebase/Firebase.h


I assume this is why my build fails, but I don't know how to fix it, are there any configuration I can modify that tells the resolver to include the files or anything else I can do?

Anthony Dawe

unread,
Mar 9, 2019, 10:56:02 AM3/9/19
to Firebase Google Group
I am running into this exact issue at this very moment, and I am also trying to figure out how to work around this.

je...@arctichazard.com

unread,
Mar 13, 2019, 10:27:50 AM3/13/19
to Firebase Google Group
Hi, just wanted to update to tell everyone that the errors reported by the log are apparently not the cause of the build failing and is "working as intended".

To make a successful build I had to add a couple of missing frameworks (GameKit and SafariServices) to the Firebase library files within unity.
libFirebaseCppApp.a
libFirebaseCppAuth.a

I don't know if it would be possible to have these settings pre-set within the unitypackage file or if there are automated scripts that does this (which apparently does not work on cloud build).
So more clear instructions that these frameworks are needed somewhere on the "Add Firebase to your Unity project" page would have been helpful.
Reply all
Reply to author
Forward
0 new messages