我正在尝试将Swift与Chartboost IOS SDK集成。我遵循了Chartboost IOS集成页面https://answers.chartboost.com/hc/en-us/articles/201220095-iOS-Integration上的所有说明,并创建了一个桥接头以在我的swift项目中使用该框架。如何将Swift与Chartboost IOS SDK集成
BridgingHeader.h
#import <Chartboost/Chartboost.h>
#import <Chartboost/CBNewsfeed.h>
#import <CommonCrypto/CommonDigest.h>
#import <AdSupport/AdSupport.h>
我BridgingHeader.h文件loacated在我的项目的根目录http://i.imgur.com/DcTcixo.png,我都遵循必要的步骤,将BridgingHeader.h添加到我的构建设置http://i.imgur.com/jvtzs7a.png但是当我运行该项目我得到52错误 - >http://i.imgur.com/WCvyooz.png。为什么我会收到这些错误,我该如何摆脱它们?
刚才检查,我的'BridgingHeader.h'文件肯定是'/Users/andrew/Documents/dev/ios/Protect Paigridge /' – theliberalsurfer 2014-10-16 03:08:16
我已经更新了我的答案。 – connor 2014-10-16 10:04:32
@AndrewM为你做了这项工作? – connor 2014-10-19 01:45:14