File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ export PATH=$PATH:$REPO_ROOT/tools/bin
99# in that case. `lipo` is probably needed in this case.
1010# Likewise, `maccatalyst` and `macosx` cannot be used together. So probably one will needs multiple
1111# xcframeworks for x86_64-based and ARM-based Mac development computer.
12- AVAILABLE_PLATFORMS=(iphoneos iphonesimulator maccatalyst) # maccatalyst-arm64 macosx macosx-arm64)
12+
13+ # iphoneos maccatalyst
14+ AVAILABLE_PLATFORMS=(iphonesimulator) # maccatalyst-arm64 macosx macosx-arm64)
1315
1416AVAILABLE_FRAMEWORKS=(libpcre openssl libssh2 libgit2)
1517
@@ -51,7 +53,7 @@ function setup_variables() {
5153 " iphonesimulator" )
5254 ARCH=x86_64
5355 SYSROOT=` xcodebuild -version -sdk iphonesimulator Path`
54- CMAKE_ARGS+=(-DCMAKE_OSX_SYSROOT=$SYSROOT );;
56+ CMAKE_ARGS+=(-DCMAKE_OSX_ARCHITECTURES= $ARCH - DCMAKE_OSX_SYSROOT=$SYSROOT );;
5557
5658 " maccatalyst" )
5759 ARCH=x86_64
You can’t perform that action at this time.
0 commit comments