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