File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 - custom :
3131 name : Prebuild React Native sample native projects
3232 met? : " false"
33- meet : cd platforms/react-native && pnpm run prebuild -- all -- --clean
33+ meet : cd platforms/react-native && pnpm run prebuild -- all
3434
3535open :
3636 " GitHub " : " https://github.com/Shopify/checkout-kit"
@@ -476,12 +476,12 @@ commands:
476476 desc : Prebuild generated native sample projects.
477477 long_desc : |
478478 Runs Expo prebuild for the React Native sample and prepares platform-specific native dependencies.
479- Existing native folders are preserved unless Expo's -- clean arg is passed through .
479+ Native folders are regenerated from a clean Expo prebuild on every run .
480480
481481 dev rn prebuild Prebuild iOS and Android
482482 dev rn prebuild ios Prebuild iOS and install CocoaPods
483483 dev rn prebuild android Prebuild Android
484- dev rn prebuild all -- --clean Regenerate iOS and Android native projects
484+ dev rn prebuild all Regenerate iOS and Android native projects
485485 dev rn prebuild ios --local Prebuild iOS against in-repo Swift SDK sources
486486 dev rn prebuild android --local Prebuild Android against in-repo Android SDK artifacts
487487
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ source "$SCRIPT_DIR/simulator"
2020dest=" $( get_sim_destination) "
2121
2222" $SCRIPT_DIR /../../scripts/prebuild" ios " $@ "
23+
24+ if [ " ${USE_LOCAL_SDK:- 0} " != " 1" ]; then
25+ " $SCRIPT_DIR /../../scripts/check_published_podfile_lock" " $SCRIPT_DIR /../ios/Podfile.lock"
26+ fi
27+
2328cd " $SCRIPT_DIR /../ios"
2429
2530xcbeautify_args=" "
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ if [ "${USE_LOCAL_SDK:-0}" = "1" ] && { [ "$platform" = "android" ] || [ "$platf
5959fi
6060
6161cd " $SAMPLE_DIR "
62- pnpm exec expo prebuild --platform " $platform " --no-install " ${expo_args[@]} "
62+ pnpm exec expo prebuild --platform " $platform " --no-install --clean " ${expo_args[@]} "
6363
6464if [ " $platform " = " ios" ] || [ " $platform " = " all" ]; then
6565 bundle check || bundle install
You can’t perform that action at this time.
0 commit comments