Skip to content

Commit e7b5f55

Browse files
committed
build : fix build-ios-device
Signed-off-by: Adrien Gallouët <[email protected]>
1 parent 2477ac6 commit e7b5f55

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)