From d8478641b031a37a9bb64c5bf8e5bd0144923fc9 Mon Sep 17 00:00:00 2001 From: Ilias Ismanalijev Date: Fri, 16 Oct 2015 11:23:49 +0200 Subject: [PATCH 1/2] Update install.md The packaged file is called Mapbox.bundle as seen [here](https://github.com/mapbox/react-native-mapbox-gl/blob/master/scripts/download-mapbox-gl-native-ios.sh) --- ios/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/install.md b/ios/install.md index 2236de9..018ea0b 100644 --- a/ios/install.md +++ b/ios/install.md @@ -7,7 +7,7 @@ Notes: 1. In the XCode's `Project navigator`, right click on project's name ➜ `Add Files to <...>` ![](https://cldup.com/k0oJwOUKPN.png) 1. Add `node_modules/react-native-mapbox-gl/ios/RCTMapboxGL.xcodeproj` ![](https://cldup.com/bnJWwtaACM.png) 1. Select your project in the `Project navigator`. Click `Build Phases` then `Link Binary With Libraries`. Add `node_modules/react-native-mapbox-gl/ios/RCTMapboxGL/libRCTMapboxGL.a` ![](https://cldup.com/QWhL_SjobN.png) -1. Select your project in the `Project navigator`. Click `Build Phases` then `Copy Bundle Resources`. Click the `+` button. When the modal appears, click `Add other`. Add `node_modules/ios/react-native-mapbox-gl/RCTMapboxGL/MapboxGL.bundle`. ![](https://cldup.com/Oi7uHxc1Fd.png) +1. Select your project in the `Project navigator`. Click `Build Phases` then `Copy Bundle Resources`. Click the `+` button. When the modal appears, click `Add other`. Add `node_modules/ios/react-native-mapbox-gl/RCTMapboxGL/Mapbox.bundle`. ![](https://cldup.com/Oi7uHxc1Fd.png) 1. Just like in the last setep, select your project in the `Project navigator`. Click `Build Phases` then `Copy Bundle Resources`. Click the `+` button. When the modal appears, click `Add other`. Add `node_modules/react-native-mapbox-gl/ios/RCTMapboxGL/Settings.bundle`. [More information on location metrics can be found here](https://www.mapbox.com/mapbox-gl-ios/#metrics_opt_out). 1. Add the following Cocoa framework dependencies to your target's Link Binary With Libraries build phase: * `CoreTelephony.framework` From a0360f4df44795fd354974c10e647edbf45ddfc4 Mon Sep 17 00:00:00 2001 From: Ilias Ismanalijev Date: Fri, 16 Oct 2015 11:34:42 +0200 Subject: [PATCH 2/2] setep/step --- ios/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/install.md b/ios/install.md index 018ea0b..f4a2555 100644 --- a/ios/install.md +++ b/ios/install.md @@ -8,7 +8,7 @@ Notes: 1. Add `node_modules/react-native-mapbox-gl/ios/RCTMapboxGL.xcodeproj` ![](https://cldup.com/bnJWwtaACM.png) 1. Select your project in the `Project navigator`. Click `Build Phases` then `Link Binary With Libraries`. Add `node_modules/react-native-mapbox-gl/ios/RCTMapboxGL/libRCTMapboxGL.a` ![](https://cldup.com/QWhL_SjobN.png) 1. Select your project in the `Project navigator`. Click `Build Phases` then `Copy Bundle Resources`. Click the `+` button. When the modal appears, click `Add other`. Add `node_modules/ios/react-native-mapbox-gl/RCTMapboxGL/Mapbox.bundle`. ![](https://cldup.com/Oi7uHxc1Fd.png) -1. Just like in the last setep, select your project in the `Project navigator`. Click `Build Phases` then `Copy Bundle Resources`. Click the `+` button. When the modal appears, click `Add other`. Add `node_modules/react-native-mapbox-gl/ios/RCTMapboxGL/Settings.bundle`. [More information on location metrics can be found here](https://www.mapbox.com/mapbox-gl-ios/#metrics_opt_out). +1. Just like in the last step, select your project in the `Project navigator`. Click `Build Phases` then `Copy Bundle Resources`. Click the `+` button. When the modal appears, click `Add other`. Add `node_modules/react-native-mapbox-gl/ios/RCTMapboxGL/Settings.bundle`. [More information on location metrics can be found here](https://www.mapbox.com/mapbox-gl-ios/#metrics_opt_out). 1. Add the following Cocoa framework dependencies to your target's Link Binary With Libraries build phase: * `CoreTelephony.framework` * `GLKit.framework`