From 0d89af422ec45c5c08f70433180f6aa7f3319b43 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Mon, 11 May 2015 12:00:35 -0700 Subject: pin to appledoc 2.2v963 for now until HEAD is better tested with our setup --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8f2dd6db2d..920c1a91ce 100644 --- a/README.md +++ b/README.md @@ -60,13 +60,14 @@ Once the library stabilizes, a mere `pod 'MapboxGL'` will work. #### Manually -0. Use [Homebrew](http://brew.sh/) to install Boost headers and [appledoc](http://gentlebytes.com/appledoc/): `brew install boost appledoc`. +1. Use [Homebrew](http://brew.sh/) to install Boost headers: `brew install boost`. +1. Install [appledoc](http://appledoc.gentlebytes.com/appledoc/) for API docs generation. We recommend [`2.2v963`](https://github.com/tomaz/appledoc/releases/tag/v2.2-963), which currently isn't available in Homebrew. 1. Run `make ipackage`. The packaging script will produce the statically-linked `libMapboxGL.a`, `MapboxGL.bundle` for resources, a `Headers` folder, and a `Docs` folder with HTML API documentation. -2. Copy the contents of `build/ios/pkg/static` into your project. It should happen automatically, but ensure that: +1. Copy the contents of `build/ios/pkg/static` into your project. It should happen automatically, but ensure that: - `Headers` is in your *Header Search Paths* (`HEADER_SEARCH_PATHS`) build setting. - `MapboxGL.bundle` is in your target's *Copy Bundle Resources* build phase. - `libMapboxGL.a` is in your target's *Link Binary With Libraries* build phase. -3. Add the following Cocoa framework dependencies to your target's *Link Binary With Libraries* build phase: +1. Add the following Cocoa framework dependencies to your target's *Link Binary With Libraries* build phase: - `CoreTelephony.framework` - `GLKit.framework` - `ImageIO.framework` @@ -76,9 +77,9 @@ Once the library stabilizes, a mere `pod 'MapboxGL'` will work. - `libc++.dylib` - `libsqlite3.dylib` - `libz.dylib` -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 "MapboxGL.h"` +1. Add `-ObjC` to your target's "Other Linker Flags" build setting (`OTHER_LDFLAGS`). +1. [Set the Mapbox API access token](#mapbox-api-access-tokens). +1. `#import "MapboxGL.h"` ### Development -- cgit v1.2.1