From 823e51292f1bf98ccdd5686eb5f85babc0d65807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Mon, 21 Dec 2015 00:42:22 -0800 Subject: [PATCH] [ios] Added include/mbgl/darwin to search path --- platform/ios/scripts/package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh index 59a73753862..55f277492b4 100755 --- a/platform/ios/scripts/package.sh +++ b/platform/ios/scripts/package.sh @@ -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 # . 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} \