Skip to content

Commit

Permalink
fixup expo script for building xcframework -- ${var}
Browse files Browse the repository at this point in the history
  • Loading branch information
tantaman committed Aug 12, 2023
1 parent 20d8fce commit 9067255
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/all-ios-loadable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ EOF
rm -rf "${BUILD_DIR}/crsqlite.xcframework"
xcodebuild -create-xcframework -framework "${BUILD_DIR}/ios-arm64/crsqlite.framework" -framework "${BUILD_DIR}/ios-arm64_x86_64-simulator/crsqlite.framework" -output "${BUILD_DIR}/crsqlite.xcframework"

mkdir -p DIST_PACKAGE_DIR
mkdir -p ${DIST_PACKAGE_DIR}
cp -Rf "${BUILD_DIR}/crsqlite.xcframework" "${DIST_PACKAGE_DIR}/crsqlite.xcframework"
cd ${DIST_PACKAGE_DIR}
tar -czvf crsqlite-ios-dylib.xcframework.tar.gz crsqlite.xcframework
rm -rf BUILD_DIR
rm -rf ${BUILD_DIR}
}

# Make all the non-simulator libs
Expand Down

0 comments on commit 9067255

Please sign in to comment.