diff options
author | Jesse Bounds <jesse@rebounds.net> | 2016-03-28 11:52:02 -0700 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2016-03-29 10:10:34 -0700 |
commit | c4d435ce7160d949f281a4cf45d36ffddc93b150 (patch) | |
tree | 04b626cf9ea08d32246d68c545e91e549438e722 /platform/ios/docs/pod-README.md | |
parent | 5c45ffccb2150092b3abf8a669755a9c049bf5a7 (diff) | |
download | qtlocation-mapboxgl-c4d435ce7160d949f281a4cf45d36ffddc93b150.tar.gz |
[ios] Update the pod-README and changelog regarding static lib changes
Diffstat (limited to 'platform/ios/docs/pod-README.md')
-rw-r--r-- | platform/ios/docs/pod-README.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/platform/ios/docs/pod-README.md b/platform/ios/docs/pod-README.md index e2c8ff813a..4ca3847fdb 100644 --- a/platform/ios/docs/pod-README.md +++ b/platform/ios/docs/pod-README.md @@ -33,7 +33,17 @@ bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mapbox.framework/strip-fra If your application targets iOS 7.x, you’ll need to install the static framework instead: -1. Open the project editor and select your application target. Drag `Mapbox.framework` from the `static` folder into the “Embedded Binaries” section of the General tab. (Don’t drag it into the “Linked Frameworks and Libraries” section; Xcode will add it there automatically.) In the sheet that appears, make sure “Copy items if needed” is checked, then click Finish. +1. Build from source manually per above. + +1. Drag the Mapbox.bundle and Mapbox.framework files in `build/ios/pkg/static` into the Project navigator, checking "Copy items if needed". It should happen automatically, but ensure that: + + - `Mapbox.framework` is listed in your `Link Binary With Libraries` build phase. + - Your *Framework Search Paths* (`FRAMEWORK_SEARCH_PATHS`) build setting includes the directory that contains `Mapbox.framework`. For most projects, the default value of `$(inherited) $(PROJECT_DIR)` should be sufficient. + - `Mapbox.bundle` is in your target's *Copy Bundle Resources* build phase. + +1. **Optional** As [noted in the documentation](https://www.mapbox.com/ios-sdk/#telemetry_opt_out) you may use the provided Settings.bundle to provide a Telemetry opt out for users. To use the provided file, drag the `Settings.bundle` file in `build/ios/pkg` into the Project navigator, checking "Copy items if needed". It should happen automatically, but ensure that: + + - `Settings.bundle` is in your target's *Copy Bundle Resources* build phase. 1. Add the following Cocoa Touch frameworks and libraries to the “Linked Frameworks and Libraries” section: |