phone_number icon indicating copy to clipboard operation
phone_number copied to clipboard

[CocoaPods]: PhoneNumberKit/PhoneNumberKitCore version differs repo from pub.dev

Open hazzo opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Package/Plugin version

2.0.1

Platforms

  • [ ] Android
  • [X] iOS
  • [ ] Linux
  • [ ] MacOS
  • [ ] Web
  • [ ] Windows

Flutter doctor

Flutter doctor
[!] Flutter (Channel stable, 3.10.6, on macOS 13.3 22E252 darwin-arm64, locale en-ES)
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.19.1/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/guido/fvm/versions/3.10.6. Consider adding /Users/guido/fvm/versions/3.10.6/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] Connected device (2 available)
[✓] Network resources

Minimal code example

Code sample Not required

Current Behavior

After updating form_builder_phone_field to last version witch depends on phone_number 2.0.1 I could not build app due to PhoneNumberKit/PhoneNumberKitCore version not found in CocoaPods. Then I realised that phone_number.podspec in repo and in pub dev are different.

Pub.dev podspec: s.dependency 'PhoneNumberKit/PhoneNumberKitCore', '3.5.10'

Repo podspec s.dependency 'PhoneNumberKit/PhoneNumberKitCore', '3.6.6'

Expected Behavior

Updating form_builder_phone_field should use the correct phone_number version and build app correctly.

Steps To Reproduce

  1. flutter pub get
  2. flutter run

Aditional information

No response

hazzo avatar Aug 03 '23 10:08 hazzo

Current temporary solution:

dependency_overrides:
  phone_number:
    git:
      url: https://github.com/flutter-form-builder-ecosystem/phone_number.git

hazzo avatar Aug 03 '23 10:08 hazzo

When is it going to be fixed?

njovy avatar Aug 30 '23 13:08 njovy

This issues still persists, and thanks to @hazzo's comment I am able to run the application.

immadisairaj avatar Oct 30 '23 15:10 immadisairaj