[ios] Restored framework dependencies to static installation instructions

Backed out documentation about #4029 because it doesn’t apply when using a storyboard, and the installation instructions use a storyboard.
This commit is contained in:
Minh Nguyễn
2016-02-22 10:44:49 -08:00
parent 15b9f3171a
commit 7bed2cebd2
3 changed files with 27 additions and 0 deletions

View File

@@ -97,6 +97,17 @@ If your application targets iOS 7.x, you’ll need to install the static framewo
1. Open the project editor and select your application target. Drag `build/ios/pkg/static/Mapbox.framework` 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:
- `GLKit.framework`
- `ImageIO.framework`
- `MobileCoreServices.framework`
- `QuartzCore.framework`
- `SystemConfiguration.framework`
- `libc++.tbd`
- `libsqlite3.tbd`
- `libz.tbd`
1. In the Build Settings tab, add `-ObjC` to the “Other Linker Flags” (`OTHER_LDFLAGS`) build setting.
### Use