From 78ea889202f267f821668627053f20dd2a9ff16a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 28 May 2015 17:52:39 -0700 Subject: [PATCH] Latest homebrew appledoc should be good --- README.md | 6 +++++- scripts/ios/install.sh | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 123c507c9..bfc7a23a3 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,11 @@ pod 'MapboxGL' #### Manually -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. Install [appledoc](http://appledoc.gentlebytes.com/appledoc/) (2.2v963 or later) for API docs generation. This is installable via homebrew: + ``` + brew install appledoc22 + brew link --force appledoc22 + ``` 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. 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. diff --git a/scripts/ios/install.sh b/scripts/ios/install.sh index ffa714f36..e7af42755 100755 --- a/scripts/ios/install.sh +++ b/scripts/ios/install.sh @@ -15,4 +15,7 @@ brew install git mapbox_time "install_awscli" \ brew install awscli +mapbox_time "install_appledoc" \ +brew install appledoc22 && brew link --force appledoc22 + mkdir -p ${KIF_SCREENSHOTS}