acoutts / flutter_libphonenumber

Leverages libphonenumber to allow for asynchronous and synchronous formatting of phone numbers in Flutter apps. Includes a TextInputFormatter to allow real-time AsYouType formatting.
MIT License
60 stars 73 forks source link

Pod install error [iOS] #56

Closed Matsuo32 closed 10 months ago

Matsuo32 commented 1 year ago

Pod install error with this plugin i try to add git to pod file pod 'PhoneNumberKit', :git => 'https://github.com/marmelroy/PhoneNumberKit'

[!] CocoaPods could not find compatible versions for pod "PhoneNumberKit/PhoneNumberKitCore":
  In Podfile:
    PhoneNumberKit (from `https://github.com/marmelroy/PhoneNumberKit`) was resolved to 3.6.6, which depends on
      PhoneNumberKit/PhoneNumberKitCore (= 3.6.6)

    flutter_libphonenumber_ios (from `.symlinks/plugins/flutter_libphonenumber_ios/ios`) was resolved to 1.1.0, which depends on
      PhoneNumberKit/PhoneNumberKitCore (= 3.5.10)

Specs satisfying the `PhoneNumberKit/PhoneNumberKitCore (= 3.5.10), PhoneNumberKit/PhoneNumberKitCore (= 3.6.6)` dependency were found, but they required a higher minimum deployment target.
acoutts commented 1 year ago

This should be working on the latest version I just published now. Try on that and let me know if there are any more issues.

Juniorlpes commented 1 year ago

put it this way pod "PhoneNumberKit", :git => "https://github.com/marmelroy/PhoneNumberKit", :tag => "3.6.6" and update the flutter_libphonenumber to version 2.1.5

acoutts commented 1 year ago

you can remove that pod entry now ^ in the latest update. I have to update the readme accordingly, will get that updated today.

acoutts commented 1 year ago

The problem was the author of phonenumber kit stopped uploading to cocoapods for a little bit, then we had to adapt accordingly. now he's pushing to cocoapods again so we can go back to the original way.