You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is "Cannot find type 'PhoneNumberTextField' in scope" in ViewController and PhoneNumbeKit version in SPM
When I add a library via spm, it says that version is 2.6.0
but the documentation says that you need to specify 3.7.0, If I manually set 3.7.0, then error occurred -> PhoneNumberKit could not be resolved.
In the next page, specify the version resolving rule as "Up to Next Major" from "3.7.0"
I could continue using 2.6.0, but the project won't build due to the error "Cannot find type 'PhoneNumberTextField' in scope" in ViewController. The issue appeared after I cleaned the project (cmd + k)
After watching Package.json, i noticed that in 2.6.0 there is "exclude: ["UI"]" line, which probably explains my mistake, but anyhow it worked before cleaning
I also noticed that there used to be PhoneNumberKit-Dynamic and PhoneNumberKit-Static link, now its not.
Tried to create a new project - same problem
Tried to delete "Package.resolved" at /Name.xcodeproj/project.xcworkspace/xcshareddata/swiftpm - doesn't help
Environment
Xcode - Version 15.4 (15F31d)
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The issue is "Cannot find type 'PhoneNumberTextField' in scope" in ViewController and PhoneNumbeKit version in SPM
When I add a library via spm, it says that version is 2.6.0
but the documentation says that you need to specify 3.7.0, If I manually set 3.7.0, then error occurred -> PhoneNumberKit could not be resolved.
I could continue using 2.6.0, but the project won't build due to the error "Cannot find type 'PhoneNumberTextField' in scope" in ViewController. The issue appeared after I cleaned the project (cmd + k)
After watching Package.json, i noticed that in 2.6.0 there is "exclude: ["UI"]" line, which probably explains my mistake, but anyhow it worked before cleaning
I also noticed that there used to be PhoneNumberKit-Dynamic and PhoneNumberKit-Static link, now its not.
Tried to create a new project - same problem
Tried to delete "Package.resolved" at /Name.xcodeproj/project.xcworkspace/xcshareddata/swiftpm - doesn't help
Environment
Xcode - Version 15.4 (15F31d)
The text was updated successfully, but these errors were encountered: