Skip to content

Commit ca9baf3

Browse files
committed
Add package.json iOS install scripts
- vanilla - CI (frozen) - reset (nuclear option) - avoid calling user or system (sudo) level gem cleanup - avoid additional install:ios:clean script - reserve pods:clean as manual operation - avoid simple non-deterministic npx pod-install (expo-pod-install) - avoid fetching lib to only find Gemfile then run bundle exec pod install
1 parent bd1a952 commit ca9baf3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"pods:frozen": "cd ios && bundle exec pod install --deployment",
1717
"pods:clean": "rm -rf ios/Pods && cd ios && bundle exec pod install",
1818
"pods:refresh": "rm -rf ios/Pods ios/Podfile.lock && cd ios && bundle exec pod install",
19+
"install:ios": "yarn gems && yarn pods",
20+
"install:ios:ci": "yarn gems:frozen && yarn pods:frozen",
21+
"install:ios:reset": "rm -rf vendor/bundle ios/Pods ios/Podfile.lock && yarn gems && cd ios && bundle exec pod deintegrate && bundle exec pod install --repo-update",
1922
"ios": "react-native run-ios",
2023
"ios:release": "react-native run-ios --mode Release",
2124
"ios:light": "xcrun simctl ui booted appearance light",

0 commit comments

Comments
 (0)