Closed MingSern closed 1 year ago
Make sure you added the entry to your podfile like the readme outlines.
@acoutts-nydig So we need to install melos and bootstrap?
I'll just put a tag for now.
pod "PhoneNumberKit", :git => "https://github.com/marmelroy/PhoneNumberKit", :tag => "3.5.10"
I'll just put a tag for now.
pod "PhoneNumberKit", :git => "https://github.com/marmelroy/PhoneNumberKit", :tag => "3.5.10"
but this isnt working
[!] CocoaPods could not find compatible versions for pod "PhoneNumberKit/PhoneNumberKitCore":
In Podfile:
PhoneNumberKit (from `https://github.com/marmelroy/PhoneNumberKit`, tag `3.5.10`) was resolved to 3.5.10, which depends on
PhoneNumberKit/PhoneNumberKitCore (= 3.5.10)
flutter_libphonenumber_ios (from `.symlinks/plugins/flutter_libphonenumber_ios/ios`) was resolved to 1.1.0, which depends on
PhoneNumberKit/PhoneNumberKitCore (= 3.6.0)
Specs satisfying the `PhoneNumberKit/PhoneNumberKitCore (= 3.6.0), PhoneNumberKit/PhoneNumberKitCore (= 3.5.10)` dependency were found, but they required a higher minimum deployment target.
Im getting the same error even after putting the tag
can you please try the latest version just published?
can you please try the latest version just published?
Im on flutter_libphonenumber: ^2.1.4
Did you try pod update?
Did you try pod update?
issue happens when i run pod update. Im using codemagic for building.
is there a way i can downgrade @acoutts ?
this is odd, i was able to upgrade and use the latest version with the example app.. is it an environment issue in codemagic?
Im sure that codemagic pulls all the deps and runs pod install everytime i run the build
Can it be an issue with Podfile.lock?
ill prolly get my macbook back tommorow, until then if there is way to downgrade and use it would be awesome
I'm not sure on your codemagic setup, but doing a pod update should update the lock file and work after that. Are you able to reproduce the issue with the example app? Then you can narrow down is it an issue with this package, your project, or codemagic.
ill prolly get my macbook back tommorow, until then if there is way to downgrade and use it would be awesome
docs here: https://dart.dev/tools/pub/dependencies#dependency-overrides
let me fork and check
ill prolly get my macbook back tommorow, until then if there is way to downgrade and use it would be awesome
docs here: dart.dev/tools/pub/dependencies#dependency-overrides
which version of package uses 3.6.0
check the git tags to see, it will be there
@acoutts what's the solution for this issue? I'm having this issue too
@BenevidesLecontes @icodelifee For whoever that is still facing this issue, it's probably because of the dependency's version. Since the error says which depends on PhoneNumberKit/PhoneNumberKitCore (= 3.6.0)
.
In your Podfile
, your need to change the version tag to be 3.6.0
as such
pod "PhoneNumberKit", :git => "https://github.com/marmelroy/PhoneNumberKit", :tag => "3.6.0" # here
hi @MingSern thank you, I already did that and is working, @acoutts i think this not the best solution this issue needs to remain open until a better solution. In our company we are developing plugins that depend on this plugin, but everyone who uses our plugins has to configure this in the podfile.
Flutter doctor
Package version
Expected
pod update
without errorActual
pod update