ranesr/SwiftIcons

Attempt to include SwiftIcons as a static library yields a crash in loadFontIfNeeded()

vitalii-tym opened this issue · 3 comments

Remove use_frameworks! from podfile to make SwiftIcons (and all other libs) included as static libraries. The project correctly compiles, but it will crash as soon as the app attempts to call any of available setIcon() methods.

screenshot 2019-02-19 18 02 40

see PR #31 for a fix

As a kind of patch-work solution you can bundle the necessary fonts in your main app (Build Phases -> Copy Bundle Resources). They are located under the pods directory

Same issue here, but added it manually to the project how can I overcome "Type 'FontLoader' has no member 'loadFontIfNeeded'" please ?