summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-04-03 14:51:15 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-04-03 14:51:15 -0700
commitdb4b6bd510b83d84cec76dd146f6eaaed51f3c49 (patch)
treeb327689e34cd273cf80f9393d3438ec32985c4c0 /README.md
parent41c4d50f8abd083c6b1cee224162ce7efa9003dc (diff)
downloadqtlocation-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.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index f48a72b994..d82b15f5f5 100644
--- a/README.md
+++ b/README.md
@@ -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.