Skip to content

Commit b072427

Browse files
committed
chore(test): centralize versioning in Podfile
- minimum deploy target used in a couple places now - better links / description for other Podfile elements
1 parent 1d1b112 commit b072427

File tree

2 files changed

+67
-61
lines changed

2 files changed

+67
-61
lines changed

tests/ios/Podfile

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
require 'json'
2-
platform :ios, '10.0'
3-
$RNFirebaseAsStaticFramework = false
42

3+
# Settings to test various overrides if desired
54
appPackage = JSON.parse(File.read(File.join('..', '..', 'node_modules', '@react-native-firebase', 'app', 'package.json')))
65
$FirebaseSDKVersion = appPackage['sdkVersions']['ios']['firebase']
7-
8-
# Version override - uncomment to test overriding, otherwise take value from `@react-native-firebase/app`
9-
# $FirebaseSDKVersion = '7.5.0'
6+
#$FirebaseSDKVersion = '7.7.0' # https://firebase.google.com/support/release-notes/ios
107
Pod::UI.puts "react-native-firebase/tests: Using Firebase SDK version '#{$FirebaseSDKVersion}'"
8+
$RNFirebaseAsStaticFramework = false # toggle this to true (and set 'use_frameworks!' below to test static frameworks)
9+
10+
# Versions used below, for quick reference / outdated+upgrade checks
11+
$iOSMinimumDeployVersion = '10.0'
12+
13+
platform :ios, $iOSMinimumDeployVersion
1114

1215

1316
require_relative '../node_modules/react-native/scripts/react_native_pods'
1417
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
1518

1619
target 'testing' do
20+
# set this and toggle '$RNFirebaseAsStaticFramework' above to test static frameworks)
1721
# use_frameworks!
1822

1923
config = use_native_modules!
@@ -26,7 +30,7 @@ post_install do |installer|
2630
# We support a smaller range of deployment than some libraries, eliminate related noise
2731
installer.pods_project.targets.each do |target|
2832
target.build_configurations.each do |config|
29-
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
33+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSMinimumDeployVersion
3034
end
3135
end
3236

tests/ios/Podfile.lock

Lines changed: 57 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ PODS:
5555
- Firebase/Storage (7.7.0):
5656
- Firebase/CoreOnly
5757
- FirebaseStorage (~> 7.7.0)
58-
- FirebaseABTesting (7.7.0):
58+
- FirebaseABTesting (7.8.0):
5959
- FirebaseCore (~> 7.0)
6060
- FirebaseAnalytics (7.7.0):
6161
- FirebaseCore (~> 7.0)
@@ -75,7 +75,7 @@ PODS:
7575
- FirebaseCoreDiagnostics (~> 7.4)
7676
- GoogleUtilities/Environment (~> 7.0)
7777
- GoogleUtilities/Logger (~> 7.0)
78-
- FirebaseCoreDiagnostics (7.7.0):
78+
- FirebaseCoreDiagnostics (7.8.0):
7979
- GoogleDataTransport (~> 8.0)
8080
- GoogleUtilities/Environment (~> 7.0)
8181
- GoogleUtilities/Logger (~> 7.0)
@@ -101,12 +101,12 @@ PODS:
101101
- FirebaseInstallations (~> 7.0)
102102
- GoogleUtilities/Environment (~> 7.0)
103103
- nanopb (~> 2.30907.0)
104-
- FirebaseInstallations (7.7.0):
104+
- FirebaseInstallations (7.8.0):
105105
- FirebaseCore (~> 7.0)
106106
- GoogleUtilities/Environment (~> 7.0)
107107
- GoogleUtilities/UserDefaults (~> 7.0)
108108
- PromisesObjC (~> 1.2)
109-
- FirebaseInstanceID (7.7.0):
109+
- FirebaseInstanceID (7.8.0):
110110
- FirebaseCore (~> 7.0)
111111
- FirebaseInstallations (~> 7.0)
112112
- GoogleUtilities/Environment (~> 7.0)
@@ -178,8 +178,10 @@ PODS:
178178
- GoogleUtilities/Network (~> 7.0)
179179
- "GoogleUtilities/NSData+zlib (~> 7.0)"
180180
- nanopb (~> 2.30907.0)
181-
- GoogleDataTransport (8.2.0):
181+
- GoogleDataTransport (8.3.0):
182+
- GoogleUtilities/Environment (~> 7.2)
182183
- nanopb (~> 2.30907.0)
184+
- PromisesObjC (~> 1.2)
183185
- GoogleToolboxForMac/DebugUtils (2.3.1):
184186
- GoogleToolboxForMac/Defines (= 2.3.1)
185187
- GoogleToolboxForMac/Defines (2.3.1)
@@ -193,25 +195,25 @@ PODS:
193195
- "GoogleToolboxForMac/NSString+URLArguments (= 2.3.1)"
194196
- "GoogleToolboxForMac/NSString+URLArguments (2.3.1)"
195197
- GoogleUserMessagingPlatform (1.4.0)
196-
- GoogleUtilities/AppDelegateSwizzler (7.2.2):
198+
- GoogleUtilities/AppDelegateSwizzler (7.3.0):
197199
- GoogleUtilities/Environment
198200
- GoogleUtilities/Logger
199201
- GoogleUtilities/Network
200-
- GoogleUtilities/Environment (7.2.2):
202+
- GoogleUtilities/Environment (7.3.0):
201203
- PromisesObjC (~> 1.2)
202-
- GoogleUtilities/ISASwizzler (7.2.2)
203-
- GoogleUtilities/Logger (7.2.2):
204+
- GoogleUtilities/ISASwizzler (7.3.0)
205+
- GoogleUtilities/Logger (7.3.0):
204206
- GoogleUtilities/Environment
205-
- GoogleUtilities/MethodSwizzler (7.2.2):
207+
- GoogleUtilities/MethodSwizzler (7.3.0):
206208
- GoogleUtilities/Logger
207-
- GoogleUtilities/Network (7.2.2):
209+
- GoogleUtilities/Network (7.3.0):
208210
- GoogleUtilities/Logger
209211
- "GoogleUtilities/NSData+zlib"
210212
- GoogleUtilities/Reachability
211-
- "GoogleUtilities/NSData+zlib (7.2.2)"
212-
- GoogleUtilities/Reachability (7.2.2):
213+
- "GoogleUtilities/NSData+zlib (7.3.0)"
214+
- GoogleUtilities/Reachability (7.3.0):
213215
- GoogleUtilities/Logger
214-
- GoogleUtilities/UserDefaults (7.2.2):
216+
- GoogleUtilities/UserDefaults (7.3.0):
215217
- GoogleUtilities/Logger
216218
- GTMSessionFetcher (1.5.0):
217219
- GTMSessionFetcher/Full (= 1.5.0)
@@ -220,7 +222,7 @@ PODS:
220222
- GTMSessionFetcher/Core (= 1.5.0)
221223
- Jet (0.6.6-0):
222224
- React
223-
- leveldb-library (1.22)
225+
- leveldb-library (1.22.1)
224226
- nanopb (2.30907.0):
225227
- nanopb/decode (= 2.30907.0)
226228
- nanopb/encode (= 2.30907.0)
@@ -455,69 +457,69 @@ PODS:
455457
- React-Core (= 0.63.4)
456458
- React-cxxreact (= 0.63.4)
457459
- React-jsi (= 0.63.4)
458-
- RNFBAdMob (10.8.1):
460+
- RNFBAdMob (11.0.0):
459461
- Firebase/AdMob (= 7.7.0)
460462
- PersonalizedAdConsent (~> 1.0.4)
461463
- React-Core
462464
- RNFBApp
463-
- RNFBAnalytics (10.8.1):
465+
- RNFBAnalytics (11.0.0):
464466
- Firebase/Analytics (= 7.7.0)
465467
- React-Core
466468
- RNFBApp
467-
- RNFBApp (10.8.1):
469+
- RNFBApp (11.0.0):
468470
- Firebase/CoreOnly (= 7.7.0)
469471
- React-Core
470-
- RNFBAuth (10.8.1):
472+
- RNFBAuth (11.0.0):
471473
- Firebase/Auth (= 7.7.0)
472474
- React-Core
473475
- RNFBApp
474-
- RNFBCrashlytics (10.8.1):
476+
- RNFBCrashlytics (11.0.0):
475477
- Firebase/Crashlytics (= 7.7.0)
476478
- React-Core
477479
- RNFBApp
478-
- RNFBDatabase (10.8.1):
480+
- RNFBDatabase (11.0.0):
479481
- Firebase/Database (= 7.7.0)
480482
- React-Core
481483
- RNFBApp
482-
- RNFBDynamicLinks (10.8.1):
484+
- RNFBDynamicLinks (11.0.0):
483485
- Firebase/DynamicLinks (= 7.7.0)
484486
- GoogleUtilities/AppDelegateSwizzler
485487
- React-Core
486488
- RNFBApp
487-
- RNFBFirestore (10.8.1):
489+
- RNFBFirestore (11.0.0):
488490
- Firebase/Firestore (= 7.7.0)
489491
- React-Core
490492
- RNFBApp
491-
- RNFBFunctions (10.8.1):
493+
- RNFBFunctions (11.0.0):
492494
- Firebase/Functions (= 7.7.0)
493495
- React-Core
494496
- RNFBApp
495-
- RNFBIid (10.8.1):
497+
- RNFBIid (11.0.0):
496498
- Firebase/CoreOnly (= 7.7.0)
497499
- FirebaseInstanceID
498500
- React-Core
499501
- RNFBApp
500-
- RNFBInAppMessaging (10.8.1):
502+
- RNFBInAppMessaging (11.0.0):
501503
- Firebase/InAppMessaging (= 7.7.0)
502504
- React-Core
503505
- RNFBApp
504-
- RNFBMessaging (10.8.1):
506+
- RNFBMessaging (11.0.0):
505507
- Firebase/Messaging (= 7.7.0)
506508
- React-Core
507509
- RNFBApp
508-
- RNFBML (10.8.1):
510+
- RNFBML (11.0.0):
509511
- Firebase/MLVision (= 7.7.0)
510512
- React-Core
511513
- RNFBApp
512-
- RNFBPerf (10.8.1):
514+
- RNFBPerf (11.0.0):
513515
- Firebase/Performance (= 7.7.0)
514516
- React-Core
515517
- RNFBApp
516-
- RNFBRemoteConfig (10.8.1):
518+
- RNFBRemoteConfig (11.0.0):
517519
- Firebase/RemoteConfig (= 7.7.0)
518520
- React-Core
519521
- RNFBApp
520-
- RNFBStorage (10.8.1):
522+
- RNFBStorage (11.0.0):
521523
- Firebase/Storage (= 7.7.0)
522524
- React-Core
523525
- RNFBApp
@@ -709,19 +711,19 @@ SPEC CHECKSUMS:
709711
FBLazyVector: 3bb422f41b18121b71783a905c10e58606f7dc3e
710712
FBReactNativeSpec: f2c97f2529dd79c083355182cc158c9f98f4bd6e
711713
Firebase: cd2ab85eec8170dc260186159f21072ecb679ad5
712-
FirebaseABTesting: 96117eb86e2fa429520bbf5a3f02caef615f6576
714+
FirebaseABTesting: 44acbfc9db915bca8f111ebae342da6fd4f1cc55
713715
FirebaseAnalytics: f3f8f75de34fe04141a69bb1c4bd7e24a80178e1
714716
FirebaseAuth: 76aa97ecd51e20ecd21321d08474d25f5d2b7b9f
715717
FirebaseCore: ac35d680a0bf32319a59966a1478e0741536b97b
716-
FirebaseCoreDiagnostics: 179bf3831213451c8addd036aca7fcf5492ec154
718+
FirebaseCoreDiagnostics: 066f996579cf097bdad3d7dc9a918d6b9e129c50
717719
FirebaseCrashlytics: 47af228115805e190b566db12c028263531b8ce0
718720
FirebaseDatabase: 4da0e43266f9cb0278464a2a4b1102b3d122c245
719721
FirebaseDynamicLinks: 3ddc15a6f7e1813710d265acc662e5dfe034ac36
720722
FirebaseFirestore: f40b71c7bcb06beb41bf3db7850a55ea57a57758
721723
FirebaseFunctions: 76e3fb1f67b404d69ec57d01a7a069f502ba5160
722724
FirebaseInAppMessaging: 9598d397a1b6f60f79d940e8561fddbea591078f
723-
FirebaseInstallations: 42c86e7b02ff75b7f27f85833bf5dcb5f38a9774
724-
FirebaseInstanceID: cf940324a20ac14a27ad1e931d15ac9d335526db
725+
FirebaseInstallations: 7f7ed0e7e27fb51f57291e1876e2ddb1524126c1
726+
FirebaseInstanceID: aaecc93b4528bbcafea12c477e26827719ca1183
725727
FirebaseMessaging: ce33c2537fdda1d1a4bc82b2245e3c3bf9107684
726728
FirebaseMLCommon: cbab07a0cfa19b982819fc9e030e6f3d569c23a6
727729
FirebaseMLVision: 68439dbb81881116a87c0e469af9f55b53e9648c
@@ -733,13 +735,13 @@ SPEC CHECKSUMS:
733735
Google-Mobile-Ads-SDK: 2f288748a42920d1c744946a460896a95b0e9110
734736
GoogleAPIClientForREST: 4bb409633efcc2e1b3f945afe7e35039b5a61db2
735737
GoogleAppMeasurement: 0c3b134b2c0a90c4c24833873894bfe0e42a0384
736-
GoogleDataTransport: 1024b1a4dfbd7a0e92cb20d7e0a6f1fb66b449a4
738+
GoogleDataTransport: b006084b73915a42c28a3466961a4edda3065da6
737739
GoogleToolboxForMac: 471e0c05d39506e50e6398f46fa9a12ae0efeff9
738740
GoogleUserMessagingPlatform: b168e8c46cd8f92aa3e34b584c4ca78a411ce367
739-
GoogleUtilities: 31c5b01f978a70c6cff2afc6272b3f1921614b43
741+
GoogleUtilities: abda45f519bc4073aa1171d2f8742108def46017
740742
GTMSessionFetcher: b3503b20a988c4e20cc189aa798fd18220133f52
741743
Jet: 84fd0e2e9d49457fc04bc79b5d8857737a01c507
742-
leveldb-library: 55d93ee664b4007aac644a782d11da33fba316f7
744+
leveldb-library: 50c7b45cbd7bf543c81a468fe557a16ae3db8729
743745
nanopb: 59221d7f958fb711001e6a449489542d92ae113e
744746
PersonalizedAdConsent: dbecabb3467df967c16d9cebc2ef4a8890e4bbd8
745747
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
@@ -764,24 +766,24 @@ SPEC CHECKSUMS:
764766
React-RCTText: 5c51df3f08cb9dedc6e790161195d12bac06101c
765767
React-RCTVibration: ae4f914cfe8de7d4de95ae1ea6cc8f6315d73d9d
766768
ReactCommon: 73d79c7039f473b76db6ff7c6b159c478acbbb3b
767-
RNFBAdMob: 623b237dba9721ef69ae450b35473347d2f96e5e
768-
RNFBAnalytics: 58805c035f65510b2459653c259651f7150699fb
769-
RNFBApp: 12dd1c3c6db54036c2e13753851ae6a65e5456ab
770-
RNFBAuth: 222e37aacc43bc08ab2aae633923fd387d687557
771-
RNFBCrashlytics: efd5e04bf3bf96a2eef15211f7e0a8b65ff80f86
772-
RNFBDatabase: 77481cf02a4b37519dbf5d9cd5122357adb552c7
773-
RNFBDynamicLinks: 78396dd9290d1b17a3248255e5fc8b65ab050eaa
774-
RNFBFirestore: c3bea7d17c57c060597377a6ec334e1b17ae05bd
775-
RNFBFunctions: 646f12e374adfc3694c298732608fc6bef3822c6
776-
RNFBIid: 56f2d62b3d9d10d831c6ae23593c7d620eb306f0
777-
RNFBInAppMessaging: 93c7e6b5c3821847e06c5800b8a22dd14fb4e205
778-
RNFBMessaging: 2ab063692196d863766bed83417b9dbf93952ac8
779-
RNFBML: 3504012c1bb397446d8dc7f08288f5529207e896
780-
RNFBPerf: 018cbb22baf1f53c144c4d34802ba67fc12dbd09
781-
RNFBRemoteConfig: acd5fba8928f08aa82bfb497b5279fa85180cca8
782-
RNFBStorage: 3ebda6ae5527bb4baf179a4d9ec204fc3bece8c8
769+
RNFBAdMob: eb7720ec439d6841b22655adae06c61483db3bbf
770+
RNFBAnalytics: 6a5f53ef0621a993b324a2019b637a3a10647574
771+
RNFBApp: 1624ffcfc328c00ec3049d2f1bbf09d3e78dcdb7
772+
RNFBAuth: 888e490f4bc371e6afa68d587c7c791976a5f52f
773+
RNFBCrashlytics: 9dda657f72f488b5112d02c6d96e86840f90dab6
774+
RNFBDatabase: cf5052e21d489f927af30d84571b26b52684cca5
775+
RNFBDynamicLinks: cba6df700a63dbb2b014ed36675f5529fa536d6e
776+
RNFBFirestore: 2e602fc143aaae72d99333caa6d36266d6fa14aa
777+
RNFBFunctions: 6dd0e358204027d8078e8a718e2c49ecf0b5077b
778+
RNFBIid: 2dadfef4d4b24d4bfcc05ea8df0d34c9ba02d8a7
779+
RNFBInAppMessaging: 5853d66cda73afc3810431c8ef698518929b0240
780+
RNFBMessaging: 43d7ae1f8b93d20ad3194cac3e31ca446d4e9828
781+
RNFBML: 36ab1e90537e155a2943b75e09aa6d6eda1257df
782+
RNFBPerf: 07bb6302bb9f55d9ec03c779f368cffdb9f25969
783+
RNFBRemoteConfig: 0a30390c4922534ac81af00c05f1788a7b0864c8
784+
RNFBStorage: 8f40c919c0c9872424a40bfe942c6323dc58de06
783785
Yoga: 4bd86afe9883422a7c4028c00e34790f560923d6
784786

785-
PODFILE CHECKSUM: ca9deb024fbbcb53eca23ef5ad1b24c7135e5421
787+
PODFILE CHECKSUM: e96e24b74d977cb5a0dd759c19c24cb0b307679d
786788

787789
COCOAPODS: 1.10.1

0 commit comments

Comments
 (0)