FlagPhoneNumber icon indicating copy to clipboard operation
FlagPhoneNumber copied to clipboard

[FIX] Podspec is broken, xcassets won't link to the correct target - No flag icons at runtime

Open rursache opened this issue 5 years ago • 1 comments

Podspec is broken resulting in no flag icons at runtime.

In FlagPhoneNumber.podspec,

s.resource_bundles = {'FlagPhoneNumber' => ['Sources/Resources/**/*']}

must be replaced by

s.resource = 'Sources/Resources/**/*.{json,xib,xcassets}'

Clean project, reinstall pod and run your app, you will see flag icons now.

As i see, this project seems abandoned so you can find a working pod in my fork, alongside with other QoL improvements (ability to tap on country prefix label to open the picker, for ex.)

rursache avatar May 26 '20 13:05 rursache

Thanks!

pixnbit avatar Jun 14 '20 08:06 pixnbit