summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rwxr-xr-xscripts/ios/install.sh3
2 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index 123c507c98..bfc7a23a38 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 ffa714f36f..e7af42755a 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}