Skip to content

Commit fc770fb

Browse files
committed
Add package.json iOS install scripts
- vanilla - CI (frozen) - reset (nuclear option) - nuke: default CI gems directory + Pods + Podfile.lock - deintegrate: remove all traces of CocoaPods from Xcode proj - pod repo update first - download latest PodSpecs (metadata) from Podfile defined remote master or priv repos - finish with vanilla pod install - 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 latest version only to find Gemfile then vanilla pod install
1 parent bd1a952 commit fc770fb

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)