mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-31 04:51:15 +00:00
1.5 KiB
1.5 KiB
Installation Process
Notes:
react-native ^v0.4.3is required
npm install react-native-mapbox-gl --save- In the XCode's
Project navigator, right click on project's name ➜Add Files to <...>
- Add
node_modules/react-native-mapbox-gl/RCTMapboxGL.xcodeproj
- Select your project in the
Project navigator. ClickBuild PhasesthenLink Binary With Libraries. Addnode_modules/react-native-mapbox-gl/RCTMapboxGL/libRCTMapboxGL.a
- Select your project in the
Project navigator. ClickBuild PhasesthenCopy Bundle Resources. Click the+button. When the modal appears, clickAdd other. Addnode_modules/react-native-mapbox-gl/RCTMapboxGL/MapboxGL.bundle.
- Add the following Cocoa framework dependencies to your target's Link Binary With Libraries build phase:

