-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift Compiler Error (Xcode): Cannot find type 'PhoneNumberKit' in scope #441
Comments
Same here, any updates? |
You can lock the
|
Same issue here. I'm using flutterflow to develop my app. I cant fix the issue locally and deploy from an specific branch but this must be resolved else I should consider using another lib. How can we help? |
@natintosh Can you update PhoneNumberKit version please? |
Same issue here, |
i am applying fix and will create Pull request |
Following... |
Hey , After debugging Package , i realised this error is coming from Another package plugin_libphonenumber and this package then uses another package called PhoneNumberKit. During debugging of plugin_libphonenumber , i found that version 3.8.0 and 4.0.0 is causing this This was the context and i hope this will be helpful for author or people working on this plugin . --- Now to solve this problem for your flutter app replace code in pubspec.yaml to this
with
|
@natintosh Could you please help? I can buy you a coffee :) |
Subscribing to this thread as we are also experiencing the exact same issue. |
Perfect solutions. It worked for me. If anyone needs help you can mail me I will fix the issue for you. Thank you |
The tactical solution is fine but we might need a permanent solution, I am not familiar with the lib whatsoever else I would do it myself. |
But if someone can guide me on how to do it I will do it |
I hadn't seen this issue, so the solution I used to get round this error was to add the package flutter_libphonenumber. It works, but it's not a clean, definitive solution |
Hi, At Perci Health we simply forked the repo and published to intl_phone_number_input_perci under the MIT license. It is possible to use as a temporary workaround.
The rest of the code should be compatible with In Flutterflow add |
worked for me, thanks a lot. |
@natintosh Waiting for your updates. |
Cannot compile
Swift Compiler Error (Xcode): Cannot find type 'PhoneNumberKit' in scope
/Users/xxxxx/.pub-cache/hosted/pub.dev/libphonenumber_plugin-0.3.3/ios/Classes/SwiftLibphonenumberPlugin.swift:6:24
Swift Compiler Error (Xcode): Extra argument 'phoneNumberKit' in call
/Users/xxxxx/.pub-cache/hosted/pub.dev/libphonenumber_plugin-0.3.3/ios/Classes/SwiftLibphonenumberPlugin.swift:127:82
Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code
Encountered error while building for device.
The text was updated successfully, but these errors were encountered: