14.9 C
New York
Wednesday, October 16, 2024

ios – Flutter – replace pod dependency loop


I have no idea what instructions to make use of to get out of this example the place I appear to have a pod dependency loop that prohibits me to replace pod variations?
How can I clear the entire undertaking and replace or are there any instructions beside flutter pub improve and flutter pub improve --major-versions ?

Per the Flutter GoogleMaps undertaking I ought to get to v9.0.0 no less than or newer

$ flutter pub outdated
Altering present working listing to: /Customers/YOU/Paperwork/app
Displaying outdated packages.
[*] signifies variations that aren't the newest obtainable.

Bundle Title                  Present  Upgradable  Resolvable  Newest  

direct dependencies: all up-to-date.

dev_dependencies: all up-to-date.

transitive dependencies:     
async                         *2.11.0  *2.11.0     *2.11.0     2.12.0  
characters                    *1.3.0   *1.3.0      *1.3.0      1.3.1   
assortment                    *1.18.0  *1.18.0     *1.18.0     1.19.0  
http_parser                   *4.0.2   *4.0.2      *4.0.2      4.1.0   
material_color_utilities      *0.11.1  *0.11.1     *0.11.1     0.12.0  
meta                          *1.15.0  *1.15.0     *1.15.0     1.16.0  
string_scanner                *1.2.0   *1.2.0      *1.2.0      1.3.0   
webview_flutter               *4.9.0   *4.9.0      *4.9.0      4.10.0  
webview_flutter_android       *3.16.9  *3.16.9     *3.16.9     4.0.0   

transitive dev_dependencies: 
leak_tracker                  *10.0.5  *10.0.5     *10.0.5     10.0.7  
leak_tracker_flutter_testing  *3.0.5   *3.0.5      *3.0.5      3.0.8   
lints                         *5.0.0   *5.0.0      *5.0.0      5.1.0   
stack_trace                   *1.11.1  *1.11.1     *1.11.1     1.12.0  
test_api                      *0.7.2   *0.7.2      *0.7.2      0.7.3   
vm_service                    *14.2.5  *14.2.5     *14.2.5     14.3.0  
all dependencies are up-to-date.

$ pod set up
Analyzing dependencies
[!] CocoaPods couldn't discover suitable variations for pod "GoogleMaps":
  In snapshot (Podfile.lock):
    GoogleMaps (< 8.0, = 7.4.0)

  In Podfile:
    google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`) was resolved to 0.0.1, which is dependent upon
      GoogleMaps (< 10.0, >= 8.4)


You've got both:
 * out-of-date supply repos which you'll be able to replace with `pod repo replace` or with `pod set up --repo-update`.
 * modified the constraints of dependency `GoogleMaps` inside your growth pod `google_maps_flutter_ios`.
   You need to run `pod replace GoogleMaps` to use adjustments you have made.

With the subsequent instructions the loop begins

$pod replace GoogleMaps
Updating native specs repositories
Analyzing dependencies
[!] CocoaPods couldn't discover suitable variations for pod "Google-Cell-Advertisements-SDK":
  In snapshot (Podfile.lock):
    Google-Cell-Advertisements-SDK (= 10.11.0, ~> 10.11.0)

  In Podfile:
    google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to five.2.0, which is dependent upon
      Google-Cell-Advertisements-SDK (~> 11.10.0)


You've got both:
 * modified the constraints of dependency `Google-Cell-Advertisements-SDK` inside your growth pod `google_mobile_ads`.
   You need to run `pod replace Google-Cell-Advertisements-SDK` to use adjustments you have made.

AND

$pod replace Google-Cell-Advertisements-SDK
Updating native specs repositories
Analyzing dependencies
[!] CocoaPods couldn't discover suitable variations for pod "GoogleMaps":
  In snapshot (Podfile.lock):
    GoogleMaps (< 8.0, = 7.4.0)

  In Podfile:
    google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`) was resolved to 0.0.1, which is dependent upon
      GoogleMaps (< 10.0, >= 8.4)


You've got both:
 * modified the constraints of dependency `GoogleMaps` inside your growth pod `google_maps_flutter_ios`.
   You need to run `pod replace GoogleMaps` to use adjustments you have made.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles