summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md14
-rwxr-xr-xscripts/ios/install.sh5
2 files changed, 13 insertions, 6 deletions
diff --git a/README.md b/README.md
index bfc7a23a38..5a37ff67e4 100644
--- a/README.md
+++ b/README.md
@@ -58,11 +58,15 @@ pod 'MapboxGL'
#### Manually
-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. Install [appledoc](http://appledoc.gentlebytes.com/appledoc/) 2.2v963 for API docs generation (only this exact version works).
+
+ ```
+ wget https://github.com/tomaz/appledoc/releases/download/v2.2-963/appledoc.zip
+ tar xvzf appledoc.zip
+ cp appledoc /usr/local/bin
+ cp -Rf Templates/ ~/.appledoc
+ ```
+
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 e7af42755a..da081254f8 100755
--- a/scripts/ios/install.sh
+++ b/scripts/ios/install.sh
@@ -16,6 +16,9 @@ mapbox_time "install_awscli" \
brew install awscli
mapbox_time "install_appledoc" \
-brew install appledoc22 && brew link --force appledoc22
+wget https://github.com/tomaz/appledoc/releases/download/v2.2-963/appledoc.zip && \
+tar xvzf appledoc.zip && \
+cp appledoc /usr/local/bin && \
+cp -Rf Templates/ ~/.appledoc
mkdir -p ${KIF_SCREENSHOTS}