我尝试使用以下代码在 xcode 中将 chartboost 集成到我的应用程序中:
Chartboost *cb = [Chartboost sharedChartboost];
cb.appId = @"Y51071e9d17ba47414f000000";
cb.appSignature = @"51071e9d17ba47414f000000";
// Begin a user session
[cb startSession];
// Show an interstitial
[cb showInterstitial];
在applicationDidBecomeActive
.
但我得到这个错误:
架构 i386 的未定义符号:“_OBJC_CLASS_$_Chartboost”,引用自:AppDelegate.o ld 中的 objc-class-ref:未找到架构 i386 的符号 clang:错误:链接器命令失败,退出代码为 1(使用 -v查看调用)
我做错了什么,我该怎么办?