Skip to content

Commit

Permalink
Prevent XCFramework build script from deleting RN-code-generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Jul 4, 2023
1 parent b275a9d commit ec0c7fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ios-xcframework/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ DERIVED_DATA_PATH="$BUILD_DIR/derived_data"
ARCHIVES_ROOT="$BUILD_DIR/archives"
XCFRAMEWORKS_DIR="$BUILD_DIR/xcframeworks"

rm -rf $BUILD_DIR
# Note: Do not delete the whole $BUILD_DIR because the React Native code generation process uses it, too.
rm -rf $DERIVED_DATA_PATH
rm -rf $ARCHIVES_ROOT
rm -rf $XCFRAMEWORKS_DIR

MAIN_FRAMEWORK_NAME=Gutenberg
WORKSPACE="./XCFrameworkScaffold.xcworkspace"
Expand Down

0 comments on commit ec0c7fa

Please sign in to comment.