Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

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

Open
2 of 7 tasks
hazzo opened this issue Aug 3, 2023 · 3 comments
Open
2 of 7 tasks
Labels
bug Something isn't working

Comments

@hazzo
Copy link

hazzo commented Aug 3, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

2.0.1

Platforms

  • Android
  • 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 hazzo added the bug Something isn't working label Aug 3, 2023
@hazzo
Copy link
Author

hazzo commented Aug 3, 2023

Current temporary solution:

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

@njovy
Copy link

njovy commented Aug 30, 2023

When is it going to be fixed?

@immadisairaj
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants