diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-04-03 14:51:15 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-04-03 14:51:15 -0700 |
commit | db4b6bd510b83d84cec76dd146f6eaaed51f3c49 (patch) | |
tree | b327689e34cd273cf80f9393d3438ec32985c4c0 /README.md | |
parent | 41c4d50f8abd083c6b1cee224162ce7efa9003dc (diff) | |
download | qtlocation-mapboxgl-db4b6bd510b83d84cec76dd146f6eaaed51f3c49.tar.gz |
iOS projects require -ObjC in OTHER_LDFLAGS
#1184 added `-[NSProcessInfo(MGLAdditions) mgl_isInterfaceBuilderDesignablesAgent]`, which only gets pulled in if you add `-ObjC` to `OTHER_LDFLAGS`.
Diffstat (limited to 'README.md')
-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. |