Skip to content

Commit 4710dd3

Browse files
authored
build : fix build-ios-device (#16257)
Signed-off-by: Adrien Gallouët <[email protected]>
1 parent 9b26511 commit 4710dd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build-xcframework.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ echo "Building for iOS devices..."
422422
cmake -B build-ios-device -G Xcode \
423423
"${COMMON_CMAKE_ARGS[@]}" \
424424
-DCMAKE_OSX_DEPLOYMENT_TARGET=${IOS_MIN_OS_VERSION} \
425+
-DCMAKE_SYSTEM_NAME=iOS \
425426
-DCMAKE_OSX_SYSROOT=iphoneos \
426427
-DCMAKE_OSX_ARCHITECTURES="arm64" \
427428
-DCMAKE_XCODE_ATTRIBUTE_SUPPORTED_PLATFORMS=iphoneos \

0 commit comments

Comments
 (0)