FontAwesomeKit icon indicating copy to clipboard operation
FontAwesomeKit copied to clipboard

Assertion failure when using fonts

Open lucaskuan opened this issue 9 years ago • 10 comments

I try to use this library in Swift project. But getting this error

*** Assertion failure in +[FAKFontAwesome registerIconFontWithURL:], /path/to/project/Pods/FontAwesomeKit/FontAwesomeKit/FAKIcon.m:14

Any clue?

lucaskuan avatar Sep 24 '15 00:09 lucaskuan

Install FontAwesomeKit with pod 'FontAwesomeKit', :head as workaround for now, I will make a new release soon.

PrideChung avatar Sep 24 '15 02:09 PrideChung

that one needs the OctIcons and Material imports commented out in the header file

genaks avatar Sep 26 '15 14:09 genaks

I'm seeing the same issue.

charliebartel avatar Oct 07 '15 21:10 charliebartel

@PrideChung will a release be out soon?

shams-ahmed avatar Oct 15 '15 15:10 shams-ahmed

+1

guyisra avatar Oct 19 '15 14:10 guyisra

+1

cyupa avatar Oct 24 '15 23:10 cyupa

+1

charliebartel avatar Oct 25 '15 12:10 charliebartel

@guyisra, @cyupa, @charliebartel use the following in your podfile:

pod 'FontAwesomeKit', :git => '[email protected]:PrideChung/FontAwesomeKit.git', :branch => 'master'

shams-ahmed avatar Oct 25 '15 13:10 shams-ahmed

Also copying icons from Pods/FontAwesomeKit/Resources into your main bundle solves this.

aocenas avatar Nov 08 '15 21:11 aocenas

Thanks @shams-ahmed this work.

lucaskuan avatar Nov 19 '15 18:11 lucaskuan