[ios] Update the pod-README and changelog regarding static lib changes
This commit is contained in:
@@ -21,6 +21,7 @@ Mapbox welcomes participation and contributions from everyone. If you’d like
|
||||
- The Improve This Map tool now uses the same zoom level that is currently being shown in the map view. ([#4068](https://github.com/mapbox/mapbox-gl-native/pull/4068))
|
||||
- Fixed a formatting issue in the documentation for `MGLCoordinateBoundsIsEmpty()`. ([#3958](https://github.com/mapbox/mapbox-gl-native/pull/3958))
|
||||
- Fixed issues with configuration and documentation that caused problems when installing apps built with the static binary to devices. This change also fixed App Store submission problems when uploading an app built with the static binary. ([#4455](https://github.com/mapbox/mapbox-gl-native/pull/4455))
|
||||
- If you’ve previously installed the SDK as a static framework, the installation workflow has changed to address issues in the App Store submission process and installation on devices. The new workflow requires that you add Mapbox.bundle to the Copy Resources build phase and remove Mapbox.framework from the Embed Binaries build phase.
|
||||
|
||||
## 3.1.2
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user