diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-04-03 15:05:44 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-04-03 15:05:44 -0700 |
commit | b9eb3e71472700d1307ac6c2030b0a9b1e71f166 (patch) | |
tree | b327689e34cd273cf80f9393d3438ec32985c4c0 | |
parent | 41c4d50f8abd083c6b1cee224162ce7efa9003dc (diff) | |
parent | db4b6bd510b83d84cec76dd146f6eaaed51f3c49 (diff) | |
download | qtlocation-mapboxgl-b9eb3e71472700d1307ac6c2030b0a9b1e71f166.tar.gz |
Merge pull request #1201 from mapbox/1ec5-objc
iOS projects require -ObjC in OTHER_LDFLAGS
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -64,8 +64,9 @@ If you merely want to install the library for iOS and try it out as an Objective - `libc++.dylib` - `libsqlite3.dylib` - `libz.dylib` -4. [Set the Mapbox API access token](#mapbox-api-access-tokens). -5. `#import "MGLMapView.h"` +4. Add `-ObjC` to your target's "Other Linker Flags" build setting (`OTHER_LDFLAGS`). +5. [Set the Mapbox API access token](#mapbox-api-access-tokens). +6. `#import "MGLMapView.h"` If you want to build from source and/or contribute to development of the project, run `make iproj`, which will create and open an Xcode project which can build the entire library from source as well as an Objective-C test app. |