This commit is contained in:
blueloveTH 2024-08-22 17:34:28 +08:00
parent be417ea528
commit a2576a3fce

View File

@ -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