Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vitalii-tym opened this issue Feb 19, 2019 · 3 comments

Comments

@vitalii-tym
Copy link

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

vitalii-tym added a commit to vitalii-tym/SwiftIcons that referenced this issue Feb 19, 2019
@vitalii-tym
Copy link
Author

see PR #31 for a fix

@MartinP7r
Copy link

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

@cvrlnolan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants