Skip to content

Commit 977634e

Browse files
committed
build(e2e, ios): switch to pod-install method of pod install
this utility package auto-retries when transitive dependencies need an update, solving the typical problem react-native-firebase pod install has when updating the firebase-ios-sdk version
1 parent 98eb1ce commit 977634e

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"tests:ios:test-reuse": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=\"698956B2-187B-49C6-9E25-C3F3530EEBAF\" yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
4747
"tests:ios:test-cover": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF ./node_modules/.bin/nyc yarn detox test --configuration ios.sim.debug --loglevel warn",
4848
"tests:ios:test-cover-reuse": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF node_modules/.bin/nyc yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
49-
"tests:ios:pod:install": "cd tests && cd ios && rm -rf ReactNativeFirebaseDemo.xcworkspace && rm -f Podfile.lock && pod install --repo-update && cd ..",
49+
"tests:ios:pod:install": "cd tests && rm -rf ios/ReactNativeFirebaseDemo.xcworkspace && yarn pod-install",
5050
"format:markdown": "prettier --write \"docs/**/*.md\""
5151
},
5252
"devDependencies": {

tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"mocha": "^9.2.1",
4646
"nyc": "^15.0.1",
4747
"patch-package": "^6.4.7",
48+
"pod-install": "^0.1.32",
4849
"react-native-codegen": "^0.0.13",
4950
"react-native-port-patcher": "^1.0.4",
5051
"should": "^13.2.3",

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11298,6 +11298,11 @@ plist@^3.0.2, plist@^3.0.4:
1129811298
base64-js "^1.5.1"
1129911299
xmlbuilder "^9.0.7"
1130011300

11301+
pod-install@^0.1.32:
11302+
version "0.1.32"
11303+
resolved "https://registry.yarnpkg.com/pod-install/-/pod-install-0.1.32.tgz#2cafa6c0f7428738a560e0495a02e1e5778a944d"
11304+
integrity sha512-o0qH9bcpzJW43d3pFQfs1+k7Su6oQGUugejmgg05X+i4fpFLPITsbOWzm5CHlWOc5RcSLOh0CzAbqni/k8cNeg==
11305+
1130111306
portfinder@^1.0.23:
1130211307
version "1.0.28"
1130311308
resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778"

0 commit comments

Comments
 (0)