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

Commit c81e3be

Browse files
committed
[ios] Added include/mbgl/darwin to search path
1 parent 1c9e5ca commit c81e3be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/ios/scripts/package.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ echo >> ${README}
134134
echo -n "#" >> ${README}
135135
cat CHANGELOG.md | sed -n "/^## iOS ${DOCS_VERSION}/,/^##/p" | sed '$d' >> ${README}
136136

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

0 commit comments

Comments
 (0)