Firebase Unity 2017.4.11 and XCode 10.0 Cocoapods Error

1,126 views
Skip to first unread message

Alex Ferrier

unread,
Oct 8, 2018, 6:20:26 PM10/8/18
to Firebase Google Group
I foolishly updated to XCode 10.0 (actually I didn't mean to, I failed to notice what App Store's update notification was about...), and now can't build any of our Firebase Database apps (or the database quickstart sample) using Unity 2017.4.11.

The actual error we get when building (from Unity, pre-XCodeproj) is at the footer of this email. 

I've set the DeploymentTarget for the project to higher numbers (including 9.0, 11.0 and 12.0) without success. I've also uninstalled and reinstalled cocoapods, just because when you're dealing with a complex multi-layered build system that's the expedient thing to do rather than trying to understand the issue :P 

Is this a known issue? 

-----




Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/MethodSwizzler":
  In Podfile:
    Firebase/Core (= 5.6.0) was resolved to 5.6.0, which depends on
      FirebaseAnalytics (= 5.1.1) was resolved to 5.1.1, which depends on
        GoogleUtilities/MethodSwizzler (~> 5.2.0)

Specs satisfying the `GoogleUtilities/MethodSwizzler (~> 5.2.0)` dependency were found, but they required a higher minimum deployment target.


Error building Player: iOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project.

After the failure, "pod repo update" was executed and succeeded. "pod install" was then attempted again, and still failed. This may be due to a broken CocoaPods installation. See: https://guides.cocoapods.org/using/troubleshooting.html for potential solutions.

pod install output:

Stewart Miles

unread,
Oct 8, 2018, 6:50:47 PM10/8/18
to Firebase Google Group
The latest version of https://cocoapods.org/pods/GoogleUtilities is 5.3.0

Is it possible your local Cocoapods mirror is out of date?

Could you try "pod repo update" on the command line?
Typically the iOS resolver plugin would do this for you if an error occurs while resolving pods (see https://github.com/googlesamples/unity-jar-resolver/blob/fff74e14f2d915c2cb034fbea497e8fba4bb2f2b/source/IOSResolver/src/IOSResolver.cs#L1987) so this could be a regression.

--
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-tal...@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/a4fa065d-f0c0-4510-a950-181d6bd490a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Ferrier

unread,
Oct 8, 2018, 8:39:10 PM10/8/18
to Firebase Google Group
Sorry, believe that the issue is this one, discussed here: 


Just found that issue. Can confirm that changing firebase dependencies to 5.9.0 gets us at least as far as a compiling XCWorkspace. 

Will read that thread, including the 5.3.1 firebase-unity release details (I'm on 5.3.0 from the public link) and follow up if I can't resolve it. 
Reply all
Reply to author
Forward
0 new messages