PrideChung / FontAwesomeKit

Icon font library for iOS. Currently supports Font-Awesome, Foundation icons, Zocial, and ionicons.
MIT License
2.81k stars 307 forks source link

Assertion failure when using fonts #62

Open lucaskuan opened 9 years ago

lucaskuan commented 9 years ago

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?

PrideChung commented 9 years ago

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

genaks commented 9 years ago

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

charliebartel commented 9 years ago

I'm seeing the same issue.

shams-ahmed commented 9 years ago

@PrideChung will a release be out soon?

guyisra commented 9 years ago

+1

cyupa commented 9 years ago

+1

charliebartel commented 9 years ago

+1

shams-ahmed commented 9 years ago

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

pod 'FontAwesomeKit', :git => 'git@github.com:PrideChung/FontAwesomeKit.git', :branch => 'master'
aocenas commented 8 years ago

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

lucaskuan commented 8 years ago

Thanks @shams-ahmed this work.