chronotruck / FlagPhoneNumber

A formatted phone number UITextField with country flag picker.
Apache License 2.0
437 stars 318 forks source link

Manually importing the FlagPhoneNumber/Source/ in Xcode 10.2 shows error #113

Open rohsa opened 5 years ago

rohsa commented 5 years ago

Describe the bug Manually importing the FlagPhoneNumber/Source/ in Xcode 10.2 shows error inside FPNTextField.swift. Following are the error:

Invalid redeclaration of 'countryPicker.storage' Use of undeclared type 'NBPhoneNumber' Use of undeclared type 'NBAsYouTypeFormatter' Use of undeclared type 'NBPhoneNumberUtil' Use of undeclared type 'NBEPhoneNumberFormat' Use of unresolved identifier 'NBAsYouTypeFormatter'

StPayne55 commented 4 months ago

I'm seeing the same issue. There's no real way to rectify this and the library is completely unusable if trying to manual import