Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources
The instructions are kinda lacking. I hope this helps...
- Launch Xcode (easy)
Drag the GoogleMaps.framework bundle to the Frameworks
group of your project. When prompted, select Copy items into
destination group's folder.Right-click GoogleMaps.framework in your project, and select Show In
Finder. What it doesn't say is...Then go into the child folder called ResourcesDrag the GoogleMaps.bundle from the Resources folder to your
project. We suggest putting it in the Frameworks group. When
prompted, ensure Copy items into destination group’s folder is not
selected.
Recurring error: Google Maps bundle missing from 'Copy Bundle Resources'
I had the same issue here. Here is how I solved it.
In XCode, in the project navigator, go to Pods > Pods > GoogleMaps > Maps > Frameworks
Right click on GoogleMaps.framework > Show in Finder
Expand GoogleMaps.framework > Resources
Drag the GoogleMaps.bundle into your XCode project navigator (under Frameworks) for a better readibility.
Click Finish to confirm the prompt that asks you to copy the item if needed.
Since, I have some CoreData warning in the console that I'm trying to see if it's important or not. But from what I read so far, it doesn't seem to.
Crash with GoogleMaps on Xcode 9
I have the same issue.
just delete GoogleMaps folder in Pods project,and then "pod install" again.
GMSService exception Google Maps SDK for iOS requires GoogleMaps.bundle
Looks like the new Xamarin Studio has support for components and adding the Google Maps component to your app from that route solves the issue... oh well.
AirGoogleMaps dir must be added to your xCode project to support GoogleMaps on iOS React Native
Finally what I was missing has been found here: Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources
So what I did is in Steps For installing the react-native:
npm install --save react-native-maps
react-native link react-native-maps
- Download the google maps ios SDK from here
[https://developers.google.com/maps/documentation/ios-sdk/start Follow the steps for manually installing the ios SDK, In the 4th
Step of google documentationDrag the following bundles into your project under Frameworks in
Xcode (when prompted, select Copy items if needed):GoogleMaps-2.7.0/Base/Frameworks/GoogleMapsBase.framework
GoogleMaps-2.7.0/Maps/Frameworks/GoogleMaps.framework
GoogleMaps-2.7.0/Maps/Frameworks/GoogleMapsCore.framework
Right-click GoogleMaps.framework in your project, and select Show In
Finder. What it doesn't say is...Then go into the child folder
called Resources- Drag the GoogleMaps.bundle from the Resources folder to your
project. We suggest putting it in the under the Frameworks folder in
Xcode. When prompted, ensure Copy items into destination group’s
folder is not selected. - Go to Build Settings in Xcode for your project and type "Header
Search Paths" in the search bar and double click the debug to see
the header search paths in debug build. Click + to add the path and
add "$(SRCROOT)/Frameworks/" with the recursive option. Go to Build Phases of your project in Xcode. Add the following
frameworks and libraries.- GoogleMapsBase.framework
- GoogleMaps.framework
- GoogleMapsCore.framework
- libAirMaps.a
Note: In case libAirMaps.a does not get linked automatically then you can link manually by dragging the AirMaps.xcodeproj from
node_modules/react-native-maps/lib/ios to the Libraries folder on
k/start
Hope so it helps anyone :)
Debug error xcode 6- using google maps sdk
You need to add GoogleMaps.bundle to your project's Frameworks.
You can find it in GoogleMaps.framework/Versions/A/Resources. and make sure that the "Copy items if needed" is not checked
you can also try the solution suggested here:
Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources
iOS on archiving Found an unexpected Mach-O header code: 1918975009
As mentioned in comment, managing libraries via Cocoapods can resolve the issue. It manages the include path, linker flags and the bundled files automatically.
Related Topics
Open Link to Facebook Page from iOS App
Silent Push Notifications Only Delivered If Device Is Charging And/Or App Is Foreground
Fetching All Contacts in iOS Swift
Uitextview Style Is Being Reset After Setting Text Property
Scale Image in an Uibutton to Aspectfit
Swift: How to Get Substring from Start to Last Index of Character
What Tool(S) How to Use to Produce iPhone App Screencasts
Make Custom Button on Tab Bar Rounded
Simulator Slow-Motion Animations Are Now On
Building iOS Applications Using Xcodebuild Without Codesign
iPhone - When to Calculate Heightforrowatindexpath for a Tableview When Each Cell Height Is Dynamic
Get Current iPhone Device Timezone Date and Time from Utc-5 Timezone Date and Time iPhone App
After Switching to Xcode 7, App Size Grew from 9 Mb to 60 Mb, Is There a Fix
Refresh Uipageviewcontroller - Reorder Pages and Add New Pages