You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows setting up the library to work with Google Maps on iOS via
`react-native link` instead of only via CocoaPods.
Because Google-Maps-iOS-Utils is not distributed as a binary (at this
time), it disables functionality that depends on this library and raises
an exception that points to the reason why there's a problem.
Additionally:
- A missing file has been added back into the AirMaps.xcodeproj project.
Re-run `npm install` or `yarn` to ensure the `postinstall` script is run.
130
+
131
+
109
132
## Notes on running on a real ios device
110
133
111
134
The steps are as described in https://facebook.github.io/react-native/docs/running-on-device.html , however instead of opening the .xcodeproj file you should open .xcworkspace file.
@@ -208,16 +231,6 @@ If you have a blank map issue, ([#118](https://github.com/airbnb/react-native-ma
208
231
209
232
If google logo/markers/polylines etc are displayed, this is likely an API key issue. Verify your API keys and their restrictions. Ensure the native `provideAPIKey` call is the first line of `didFinishLaunchingWithOptions`.
210
233
211
-
If you have ran 'react-native link` by mistake:
212
-
213
-
1. delete node_modules
214
-
2. delete ios/Pods
215
-
3. delete ios/Podfile.lock
216
-
4. open Xcode and delete `AIRMaps.xcodeproj` from Libraries if it exists
217
-
5. in Build Phases -> Link Binary With Libraries delete `libAIRMaps.a` if it exists
218
-
6. delete ios/build folder
219
-
7. start again with the installation steps
220
-
221
234
If you use Xcode with version less than 9 you may get `use of undeclared identifier 'MKMapTypeMutedStandard'` or `Entry, ":CFBundleIdentifier", Does Not Exist` errors. In this case you have to update your Xcode.
0 commit comments