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} \