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
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”:
Then select your Google-Info.plist file and run the project again.
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.
See you next time!