From a2576a3fce420973c4654acba33e79239d1cc62a Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Thu, 22 Aug 2024 17:34:28 +0800 Subject: [PATCH] ... --- build_ios.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build_ios.sh b/build_ios.sh index b0c43cb7..a3274666 100644 --- a/build_ios.sh +++ b/build_ios.sh @@ -12,9 +12,11 @@ cmake --build os64 --config Release cmake -B simulatorarm64 -G Xcode $FLAGS -DPLATFORM=SIMULATORARM64 .. cmake --build simulatorarm64 --config Release +HEADERS="../include/pocketpy/pocketpy.h ../include/pocketpy/config.h ../include/pocketpy/export.h" + xcodebuild -create-xcframework \ - -library os64/Release-iphoneos/libpocketpy.a -headers ../include/pocketpy/pocketpy.h \ - -library simulatorarm64/Release-iphonesimulator/libpocketpy.a -headers ../include/pocketpy/pocketpy.h \ + -library os64/Release-iphoneos/libpocketpy.a -headers $HEADERS \ + -library simulatorarm64/Release-iphonesimulator/libpocketpy.a -headers $HEADERS \ -output pocketpy.xcframework