objective c - How to integrate Chartboost IOS SDK with Swift -
i trying integrate chartboost ios sdk swift. have followed instructions on chartboost ios integration page https://answers.chartboost.com/hc/en-us/articles/201220095-ios-integration , have created bridging header utilize framework in swift project.
bridgingheader.h
#import <chartboost/chartboost.h> #import <chartboost/cbnewsfeed.h> #import <commoncrypto/commondigest.h> #import <adsupport/adsupport.h>
my bridgingheader.h file loacated in project root directory http://i.imgur.com/dctcixo.png , have followed necessary steps add together bridgingheader.h build settings http://i.imgur.com/jvtzs7a.png when run project 52 errors -> http://i.imgur.com/wcvyooz.png. why getting these errors , how rid of them?
it looks headers require uikit , foundation. add together line @ top of bridging header.
#import <uikit/uikit.h>
also, have made sure bridging header in project's root in file system? hierarchy of xcode's project navigator isn't same file system.
it's looking header in /users/andrew/documents/dev/ios/protect paigridge/
open finder , create sure header in directory. xcode may have created level deeper rest of code files are. if that's case, can edit entry in build settings or move file.
objective-c swift chartboost
No comments:
Post a Comment