Ios: Build fails (missing GoogleService-info.plist)

Created on 25 Aug 2018  Â·  4Comments  Â·  Source: nextcloud/ios

The following error occurs when building master in XCode (9.4.1):

/Users/mgsk/hackery/nextcloud-ios/GoogleService-Info.plist:0: error: reading data: The file “GoogleService-Info.plist” couldn’t be opened because there is no such file.

Any ideas how to fix it?

Most helpful comment

You can remove the GoogleService-Info.plist from the "Copy Bundle Resources" in "Nextcloud" project Targets.

After that you should be able to build the project

All 4 comments

You can remove the GoogleService-Info.plist from the "Copy Bundle Resources" in "Nextcloud" project Targets.

After that you should be able to build the project

Alternatively you can sign up for a free firebase account which is easy enough. But @freumichCH's solution is better.

You can remove the GoogleService-Info.plist from the "Copy Bundle Resources" in "Nextcloud" project Targets.

After that you should be able to build the project
Thanks @freumichCH

This solution works for me.

This is actually still an issue. If you remove GoogleService-Info.plist from Copy Bundle Resources, the app then crashes on launch with:

*** Terminating app due to uncaught exception 'com.firebase.core', reason: '[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/.'

Was this page helpful?
0 / 5 - 0 ratings