thii / FontAwesome.swift

Use FontAwesome in your Swift projects
MIT License
1.57k stars 266 forks source link

FA.swift showing strange icons after update #260

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hi!

Maybe it is my foult, and I do not see a solution anywhere. I need advice, please.

After updating to XCode 11.6 and FA.swift 1.8.3 I just see strange Icons (basically question marks in boxes) instead of the correct icons.

Any thoughts? What am I doing wrong? Do I have to put my FA5 license anywhere?

I'd be greatful for help!

Regrads, Christoph

MatrixSenpai commented 3 years ago

This happens when you are not loading the fonts correctly. Please ensure your fonts are in the Copy Resources Phase and you have filled out the Fonts Provided By Application key in your Info.plist

ghost commented 3 years ago

I have done as adviced (see shots below). Anything else, that I might be missing? Are the otf-Files sufficient or do I need the ttf's in addition?

1 2

Thanks for your help!

MatrixSenpai commented 3 years ago

Did you ensure FontAwesomeConfig.useProIcons is set to true in AppDelegate.launch(withOptions:)?

ghost commented 3 years ago

No I did not, because I did noct stumble upon any documentation telling me so... I now switched to "SwiftIcons" which worked with a minimum on migration effort right away. It seems a little more powerful aswell. Sorry, no offense! Keep the good work goin!