From 9a62ef6a5273416ddd5aada716bd34b2f336ecd7 Mon Sep 17 00:00:00 2001 From: Rudrank Riyam Date: Thu, 10 Oct 2024 22:42:00 +0530 Subject: [PATCH] Update build.sh --- .github/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/build.sh b/.github/build.sh index fa47391..8e802d8 100644 --- a/.github/build.sh +++ b/.github/build.sh @@ -89,5 +89,8 @@ mkdir -p "$XCFRAMEWORK_PATH/ios-arm64" cp -r "$PROJECT_BUILD_DIR/$PACKAGE_NAME-iphonesimulator.xcarchive/dSYMs" "$XCFRAMEWORK_PATH/ios-arm64_x86_64-simulator" cp -r "$PROJECT_BUILD_DIR/$PACKAGE_NAME-iphoneos.xcarchive/dSYMs" "$XCFRAMEWORK_PATH/ios-arm64" +# Zip the xcframework +zip -r "$PROJECT_BUILD_DIR/$PACKAGE_NAME.xcframework.zip" "$XCFRAMEWORK_PATH" + # Ensure correct permissions for the final xcframework chmod -R 755 "$XCFRAMEWORK_PATH"