From 3de13ab17de3660503d3a00c61eb43189fcc5b82 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Wed, 18 Dec 2024 09:53:46 +0100 Subject: [PATCH] iOS: use Xcode in the test step --- steps/08-test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/steps/08-test.sh b/steps/08-test.sh index 772f1c3..e61eb2a 100755 --- a/steps/08-test.sh +++ b/steps/08-test.sh @@ -52,9 +52,11 @@ case "$OS" in ;; esac CMAKE_ARGS+=( + -G Xcode -D CMAKE_SYSTEM_NAME="iOS" -D CMAKE_OSX_SYSROOT="$SDK" -D CMAKE_OSX_ARCHITECTURES="$ARCH" + -D CMAKE_OSX_DEPLOYMENT_TARGET="15.0" # https://discourse.cmake.org/t/find-package-stops-working-when-cmake-system-name-ios/4609/7 -D CMAKE_FIND_ROOT_PATH_MODE_PACKAGE="BOTH" -D CMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH"