Reputation: 801
Am trying to execute my project, while going to home page itself am getting this error and app is crashing
Terminating app due to uncaught exception 'GMSServicesException', reason: 'Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources''
Upvotes: 1
Views: 998
Reputation: 404
What worked for me was cleaning my project. Go to Product->Clean. (Shift-Command-K)
Upvotes: 1
Reputation: 180
For those who use CocoaPods to install GoogleMaps, you can simply clean the project and build.
From the top menu in Xcode, click Product > Clean or SHIFT + CMD + K
Upvotes: 0
Reputation: 1734
If you installed it via Cocoapods, the only solution I have found so far is removing it from the podfile, updating pods, then putting in back in the podfile and updating again.
Upvotes: 2
Reputation: 977
Please select project name from Xcode, select "Targets", select Build Phases . Open "Copy Bundle Resources" , then click on "+" button. It will open an windows containing the name of bundle file. Click on ADD to add in your bundle resources.
Steps:-
ProjectName -> Targets -> Build Phases -> Copy bundle Resources -> Click on "+" Button -> Add the specified file
Upvotes: 3