chronotruck / FlagPhoneNumber

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

No flag when testing download from test flight ios #189

Open peterkuch opened 2 years ago

peterkuch commented 2 years ago

with the latest Xcode 13 we testing directly from Xcode that ok flag icon has but when download from test flight can't see it

gruzd1sok commented 2 years ago

hi, are u fixed this? I have the same issue

UtkuDalmaz commented 2 years ago

same here

peterkuch commented 2 years ago

because ios v15 not found a resource from pod file of the lib. if you want to resolve it please follow

  1. Copy all from FlagKit.xcassets inside Flag lib pod to your app assets folder
  2. Update code looks like my photo attach 2021-10-20 18 26 39 2021-10-20 18 26 23
shafqat-muneer commented 2 years ago

Above solution is required modification in POD file. Any proper solution for this issue?

shafqat-muneer commented 2 years ago

Another solution, if you remove to use application from pods and simply import the Sources repository in your project then no need to make changes mentioned in @peterkuch 's solution.

In this case, you also need to add following ObjectiveC Header Files into Bridging Header of projects:

#import "NBPhoneNumberUtil.h"
#import "NBPhoneNumber.h"
#import "NBAsYouTypeFormatter.h"
tolik85 commented 2 years ago

Above solution is required modification in POD file. Any proper solution for this issue?

Fork this library and make the necessary changes.

ramgopal-zopsmart commented 2 years ago

Hi, did any have got permanent solution for this?

tabrezp commented 2 years ago

Instead of using the resource_bundles, if we use resources, the issue will get fixed. Have tested this in my app. I have opened a pull request to fix this issue:

https://github.com/chronotruck/FlagPhoneNumber/pull/193

nagmani123 commented 2 years ago

@peterkuch implementation After Follow the Following Steps go to info>URLTYPES>addURL Schemes when you run code in simulator in production Target Give this error "app-1-74759610351-ios-65d438b8d66738a9e6a01a" copy this code and paste in addUrl Schemes

peterkuch commented 2 years ago

@peterkuch implementation After Follow the Following Steps go to info>URLTYPES>addURL Schemes when you run code in simulator in production Target Give this error "app-1-74759610351-ios-65d438b8d66738a9e6a01a" copy this code and paste in addUrl Schemes

What do you mean sir?

peterkuch commented 2 years ago

Another solution, if you remove to use application from pods and simply import the Sources repository in your project then no need to make changes mentioned in @peterkuch 's solution.

In this case, you also need to add following ObjectiveC Header Files into Bridging Header of projects:

#import "NBPhoneNumberUtil.h"
#import "NBPhoneNumber.h"
#import "NBAsYouTypeFormatter.h"

We don't want to use ObjectiveC Bridging , we don't want to import all code to our project.