Skip to content

FPNTextField.swift is missing an import libPhoneNumber  #212

@golan-onestep

Description

@golan-onestep

Describe the bug
Build errors in FPNTextField.swift Lines 33-35:
Cannot find NBPhoneNumberUtil in scope
Cannot find NBAsYouTypeFormatter in scope

To Reproduce
Steps to reproduce the behavior:

  1. Add FlagPhoneNumber to an Xcode project via SPM
  2. Build project
  3. See error

Expected behavior
Expect the project to build successfully

Screenshots

Smartphone (please complete the following information):

  • Device: iPhone 16 Simulator
  • OS: iOS18.0
  • Version 0

FlagPhoneNumber (please complete the following information):

  • Version 0.9.0

Additional context
Fix suggestion: Add import libPhoneNumber to FPNTextField.swift

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions