Skip to content

Commit 5197463

Browse files
committed
Add package.json CocoaPods install scripts
- vanilla - frozen (for CI, fail if Podfile or lockfile changes) - clean - remove Pods folder and lockfile - update all spec-repos in local user OS .cocoapods\repos dir - avoid --clean-install (incremental_installation only) - use proj CocoaPods, avoid global system version - ideally installed via homebrew avoiding sudo-wide changes
1 parent eb9ff93 commit 5197463

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
@@ -12,6 +12,9 @@
1212
"android:release": "react-native run-android --active-arch-only --mode release",
1313
"gems": "bundle install",
1414
"gems:frozen": "bundle install --deployment",
15+
"pods": "cd ios && bundle exec pod install",
16+
"pods:frozen": "cd ios && bundle exec pod install --deployment",
17+
"pods:clean": "cd ios && rm -rf Pods Podfile.lock && bundle exec pod install --repo-update",
1518
"ios": "react-native run-ios",
1619
"ios:release": "react-native run-ios --mode Release",
1720
"ios:light": "xcrun simctl ui booted appearance light",

0 commit comments

Comments
 (0)