Xcode9: Does not recognize Google-Info.plist?

Introduction

The new Xcode 9 is now available for everyone, with this update there are lot of changes  and new features, but also some bugs. There’s a special one which was noticed during the beta testings and it is still on the production version. This is the topic of this tutorial

Google-Info.plist

If you’re a familiar with some Google SDKs like the Google Sign-In SDK for iOS you know you need the Google-Info.plist file in order to make the SDK works. This configuration file provides a service-specific information for your app. Somehow when you drag and drop it to your app source file and after that try to run your app, it crashes and shows the error bellow:

Could not locate configuration file: ‘GoogleService-Info.plist’.

Even if you remove it, download it again and drag and drop it into your project’s source folder it won’t work. Fortunately there’s a solution for it.

On Xcode9 go to your project folder Right click on it and then click on Add files To “Your Project Name”:

Bildschirmfoto 2017-10-01 um 10.08.44

Then select your Google-Info.plist file and run the project again.

 

Acknowledgment

Thanks for reading this post, it is always a pleasure writing for you guys. If you like what you just read and somehow you want to support me, you can become a Patreon . Being my Patreon makes you get my private posts about programming with iOS and Ruby.

If you’d like to know more about me or what I do, you can follow me on Instagram or Twitter .

See you next time!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s