ios - xcode 上的 chartboost 集成错误

标签 ios xcode chartboost

我尝试使用以下代码将 chartboost 集成到我在 xcode 中的应用程序中:

Chartboost *cb = [Chartboost sharedChartboost];

cb.appId = @"Y51071e9d17ba47414f000000";
cb.appSignature = @"51071e9d17ba47414f000000";

// Begin a user session
[cb startSession];

// Show an interstitial
[cb showInterstitial];

applicationDidBecomeActive 中。

但是我得到这个错误:

Undefined symbols for architecture i386: "_OBJC_CLASS_$_Chartboost", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

我做错了什么,我该怎么办?

最佳答案

是的,您知道了,请确保将 chartboost 库添加到您的项目中,并且所有框架都已链接。

如果您遇到更多问题,请查看此处的示例项目:https://github.com/ChartBoost/client-examples

关于ios - xcode 上的 chartboost 集成错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14574547/

相关文章:

ios - 按类别及其子元素填充列表

ios - 在 iOS 7 中滚动到不稳定的 UITextView 底部

ios - UILabel 中字符的坐标

ios - 如何约束两个按钮距垂直中心等距

ios - 快速处理选择器参数

ios - 按翻译属性对对象进行排序

ios - 在 iPad 10.5 英寸模拟器中运行应用程序?

android - 在 Chartboost 中隐藏插页式广告

ios - 从 chartboost 删除应用程序?

java - 用于 AGK AppGameKit NDK 的 Chartboost SDK 集成的 Android runOnUIThread