@@ -16,9 +16,9 @@ function createXcframework() {
1616 <key>CFBundleDevelopmentRegion</key>
1717 <string>en</string>
1818 <key>CFBundleExecutable</key>
19- <string>powersync</string>
19+ <string>powersync-sqlite-core </string>
2020 <key>CFBundleIdentifier</key>
21- <string>co.powersync</string>
21+ <string>co.powersync.sqlitecore </string>
2222 <key>CFBundleInfoDictionaryVersion</key>
2323 <string>6.0</string>
2424 <key>CFBundlePackageType</key>
@@ -30,25 +30,23 @@ function createXcframework() {
3030EOF
3131)
3232 printf " \n\n\t\t===================== create ios device framework =====================\n\n"
33- mkdir -p " ${BUILD_DIR} /ios-arm64/powersync.framework"
34- echo " ${plist} " > " ${BUILD_DIR} /ios-arm64/powersync.framework/Info.plist"
35- cp -f " ./target/aarch64-apple-ios/release/libpowersync.dylib" " ${BUILD_DIR} /ios-arm64/powersync.framework/powersync"
36- install_name_tool -id " @rpath/powersync.framework/powersync" " ${BUILD_DIR} /ios-arm64/powersync.framework/powersync"
33+ mkdir -p " ${BUILD_DIR} /ios-arm64/powersync-sqlite-core .framework"
34+ echo " ${plist} " > " ${BUILD_DIR} /ios-arm64/powersync-sqlite-core .framework/Info.plist"
35+ cp -f " ./target/aarch64-apple-ios/release/libpowersync.dylib" " ${BUILD_DIR} /ios-arm64/powersync-sqlite-core .framework/powersync"
36+ install_name_tool -id " @rpath/powersync-sqlite-core .framework/powersync" " ${BUILD_DIR} /ios-arm64/powersync-sqlite-core .framework/powersync"
3737
3838 printf " \n\n\t\t===================== create ios simulator framework =====================\n\n"
39- mkdir -p " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync.framework"
40- echo " ${plist} " > " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync.framework/Info.plist"
41- cp -p " ./target/powersync-universal-ios-sim.dylib" " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync.framework/powersync"
42- install_name_tool -id " @rpath/powersync.framework/powersync" " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync.framework/powersync"
39+ mkdir -p " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync-sqlite-core .framework"
40+ echo " ${plist} " > " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync-sqlite-core .framework/Info.plist"
41+ cp -p " ./target/powersync-universal-ios-sim.dylib" " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync-sqlite-core .framework/powersync"
42+ install_name_tool -id " @rpath/powersync-sqlite-core .framework/powersync" " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync-sqlite-core .framework/powersync"
4343
4444 printf " \n\n\t\t===================== create ios xcframework =====================\n\n"
45- rm -rf " ${BUILD_DIR} /powersync.xcframework"
46- xcodebuild -create-xcframework -framework " ${BUILD_DIR} /ios-arm64/powersync.framework" -framework " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync.framework" -output " ${BUILD_DIR} /powersync.xcframework"
45+ rm -rf " ${BUILD_DIR} /powersync-sqlite-core .xcframework"
46+ xcodebuild -create-xcframework -framework " ${BUILD_DIR} /ios-arm64/powersync-sqlite-core .framework" -framework " ${BUILD_DIR} /ios-arm64_x86_64-simulator/powersync-sqlite-core .framework" -output " ${BUILD_DIR} /powersync-sqlite-core .xcframework"
4747
48- mkdir -p ${DIST_PACKAGE_DIR}
49- cp -Rf " ${BUILD_DIR} /powersync.xcframework" " ${DIST_PACKAGE_DIR} /powersync.xcframework"
50- cd ${DIST_PACKAGE_DIR}
51- tar -czvf powersync-ios-dylib.xcframework.tar.gz powersync.xcframework
48+ cp -Rf " ${BUILD_DIR} /powersync-sqlite-core.xcframework" " powersync-sqlite-core.xcframework"
49+ tar -cJvf powersync-sqlite-core.xcframework.tar.gz powersync-sqlite-core.xcframework
5250 rm -rf ${BUILD_DIR}
5351}
5452
0 commit comments