Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] Added include/mbgl/darwin to search path
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Dec 21, 2015
1 parent 44f85ac commit 823e512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/ios/scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ echo >> ${README}
echo -n "#" >> ${README}
cat CHANGELOG.md | sed -n "/^## iOS ${DOCS_VERSION}/,/^##/p" | sed '$d' >> ${README}

# --xcodebuild-arguments will be unnecessary after jazzy releases a version with
# -isysroot will be unnecessary after jazzy releases a version with
# <https://github.com/realm/jazzy/pull/394>. jazzy ignores many of the arguments
# below in the presence of --xcodebuild-arguments, so we have to duplicate those
# arguments in --xcodebuild-arguments.
jazzy \
--xcodebuild-arguments "--objc,include/mbgl/ios/Mapbox.h,-x,objective-c,-isysroot,$(xcrun --show-sdk-path --sdk iphonesimulator)" \
--xcodebuild-arguments "--objc,include/mbgl/ios/Mapbox.h,-x,objective-c,-isysroot,$(xcrun --show-sdk-path --sdk iphonesimulator),-I,include/mbgl/darwin" \
--github-file-prefix https://github.com/mapbox/mapbox-gl-native/tree/${HASH} \
--module-version ${DOCS_VERSION} \
--readme ${README} \
Expand Down

0 comments on commit 823e512

Please sign in to comment.