AmericaSCORESBayArea / AmericaScores-CoachApp

React native based mobile app for Americas scores attendance management
5 stars 2 forks source link

ios/pods resolve circular update issue and update readme #444

Open CritiqalPete opened 8 months ago

CritiqalPete commented 8 months ago

currently testing: npm: 10.3.0 pod :1.13.0 react-native-cli: 2.0.1 react-native: 0.72.10

after pod install, the following happens...

First directed update to Firebase pods

1. [!] CocoaPods could not find compatible versions for pod "Firebase/AnalyticsWithoutAdIdSupport": In snapshot (Podfile.lock): Firebase/AnalyticsWithoutAdIdSupport (= 10.17.0) In Podfile: RNFBAnalytics (from ../node_modules/@react-native-firebase/analytics) was resolved to 18.7.3, which depends on Firebase/AnalyticsWithoutAdIdSupport (= 10.19.0) You have either:

Second directed update to Firebase pods

2. % pod update Firebase/AnalyticsWithoutAdIdSupport [!] CocoaPods could not find compatible versions for pod "FirebaseInAppMessaging": In snapshot (Podfile.lock): FirebaseInAppMessaging (= 10.17.0-beta, ~> 10.17.0-beta) In Podfile: FirebaseInAppMessaging RNFBInAppMessaging (from ../node_modules/@react-native-firebase/in-app-messaging) was resolved to 18.7.3, which depends on Firebase/InAppMessaging (= 10.19.0) was resolved to 10.19.0, which depends on FirebaseInAppMessaging (~> 10.19.0-beta) You have either:

Fourth directed update to Firebase pods

4. pod update Firebase/CoreOnly [!] CocoaPods could not find compatible versions for pod "FirebaseInAppMessaging": In snapshot (Podfile.lock): FirebaseInAppMessaging (= 10.17.0-beta, ~> 10.17.0-beta) In Podfile: FirebaseInAppMessaging RNFBInAppMessaging (from ../node_modules/@react-native-firebase/in-app-messaging) was resolved to 18.7.3, which depends on Firebase/InAppMessaging (= 10.19.0) was resolved to 10.19.0, which depends on FirebaseInAppMessaging (~> 10.19.0-beta) You have either:

Analysis: The circular dependency between these pods is a consequence of a version restriction somewhere that is not resolved using the update method directed.

New Solution to Try: Update pods

% sudo gem update cocoapods nothing to update

CritiqalPete commented 8 months ago

Fix method tested on MacOS 14.2.1 Xcode set to v13 (not tested in v15) Reviewed with npm 10.3.0 react-native 0.72.10 Pod 1.13.0

  1. Clone new repo and add config files
  2. npm install
  3. cd ios && pod install
  4. Pod update
CritiqalPete commented 6 months ago

verified resolved