summaryrefslogtreecommitdiff
path: root/platform/ios/docs/pod-README.md
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-02-18 13:26:54 -0800
committerMinh Nguyễn <mxn@1ec5.org>2016-02-18 13:26:54 -0800
commita57a88a0381d8ce65d5d466da77bddea15f7fd29 (patch)
treebd3a068c00aa9200f14cb8c5bb7b53ab968923b6 /platform/ios/docs/pod-README.md
parent87f28f3f4456892de07d67fcdba8e9ebaed2243a (diff)
downloadqtlocation-mapboxgl-a57a88a0381d8ce65d5d466da77bddea15f7fd29.tar.gz
[ios] Clarified manual installation instructions
People are used to dragging frameworks into the Linked Frameworks and Libraries section, but the SDK only works when embedded inside the application. Fixes #4011.
Diffstat (limited to 'platform/ios/docs/pod-README.md')
-rw-r--r--platform/ios/docs/pod-README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/docs/pod-README.md b/platform/ios/docs/pod-README.md
index f0e28673b9..59c1f6ec2a 100644
--- a/platform/ios/docs/pod-README.md
+++ b/platform/ios/docs/pod-README.md
@@ -16,7 +16,7 @@ The Mapbox iOS SDK may be installed as either a dynamic framework or a static fr
This is the recommended workflow for manually integrating the SDK into an application targeting iOS 8 and above:
-1. Open the project editor and select your application target. Drag `Mapbox.framework` from the `dynamic` folder into the “Embedded Binaries” section of the General tab. In the sheet that appears, make sure “Copy items if needed” is checked, then click Finish.
+1. Open the project editor and select your application target. Drag `Mapbox.framework` from the `dynamic` 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. In the Build Phases tab, click the + button at the top and select “New Run Script Phase”. Enter the following code into the script text field:
@@ -33,7 +33,7 @@ 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. In the sheet that appears, make sure “Copy items if needed” is checked, then click Finish.
+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. Add the following Cocoa Touch frameworks and libraries to the “Linked Frameworks and Libraries” section: