how to integrated with swift?
adad184 opened this issue · 5 comments
adad184 commented
i install with cocoapod & imported in bridge header
#import <FontAwesomeKit/FAKFontAwesome.h>
but i still got
Use of unresolved identifier 'FAKFontAwesome'
yoneapp commented
I have the same problem.
PrideChung commented
#import "FAKFontAwesome.h"
instead.
yoneapp commented
It's similar to this problem.
SwiftyJSON/SwiftyJSON#192 (comment)
My problem has been solved.
Project > General > Linked Framework and Libraries >
add FontAwesomeKit
import FontAwesomeKit
Jamonek commented
I'm running into issues as well. Neither solutions have worked for me.
dcunited001 commented
i'm getting my code to compile with the following Podfile:
# since I'm using pods as frameworks, i usually don't need to import obj-c libs in the bridging header.
use_frameworks!
link_with 'MyApp', 'MyAppTests'
target 'MyApp' do
pod 'FontAwesomeKit/FontAwesome', '~> 2.1.0'
end
and then, somewhere in my project:
import 'FontAwesomeKit'
And my code compiles.