【发布时间】:2014-10-12 07:30:26
【问题描述】:
我正在尝试将 Chartboost IOS SDK 与 Swift 集成。我已按照 Chartboost IOS 集成页面 https://answers.chartboost.com/hc/en-us/articles/201220095-iOS-Integration 上的所有说明进行操作,并创建了一个桥接头以在我的 swift 项目中使用该框架。
BridgingHeader.h
#import <Chartboost/Chartboost.h>
#import <Chartboost/CBNewsfeed.h>
#import <CommonCrypto/CommonDigest.h>
#import <AdSupport/AdSupport.h>
我的 BridgingHeader.h 文件位于我的项目根目录 http://i.imgur.com/DcTcixo.png 中,并且我已按照必要的步骤将 BridgingHeader.h 添加到我的构建设置 http://i.imgur.com/jvtzs7a.png 但是当我运行项目时出现 52 个错误,例如 - >http://i.imgur.com/WCvyooz.png。为什么会出现这些错误以及如何消除它们?
【问题讨论】:
标签: objective-c swift chartboost