AdWhirl 与 MillennialMedia 集成,未找到符号

发布于 2024-12-12 21:11:24 字数 772 浏览 0 评论 0原文

我想在我的 adwhirl 中启用 MM 广告。我做了与 inmobi、admob、mobclix 等其他网络相同的操作,但是对于 MM,我收到此错误:

  Undefined symbols for architecture i386:
  "_UTTypeCreatePreferredIdentifierForTag", referenced from:
  -[MMFileManager getMimeType:] in libMMSDK.a(MMFileManager.o)
  "_UTTypeCopyPreferredTagWithClass", referenced from:
  -[MMFileManager getMimeType:] in libMMSDK.a(MMFileManager.o)
  "_kUTTagClassFilenameExtension", referenced from:
  -[MMFileManager getMimeType:] in libMMSDK.a(MMFileManager.o)
  "_kUTTagClassMIMEType", referenced from:
  -[MMFileManager getMimeType:] in libMMSDK.a(MMFileManager.o)
 ld: symbol(s) not found for architecture i386
 collect2: ld returned 1 exit status

我没有更改 adwhirl 适配器,只需将 MM sdk 拖到项目中即可。我的 admob 集成从未发生过这种情况。 请帮助我

i want to enable MM ad in my adwhirl. i did the same thing as other networks like inmobi, admob, mobclix etc, but with MM, i get this error:

  Undefined symbols for architecture i386:
  "_UTTypeCreatePreferredIdentifierForTag", referenced from:
  -[MMFileManager getMimeType:] in libMMSDK.a(MMFileManager.o)
  "_UTTypeCopyPreferredTagWithClass", referenced from:
  -[MMFileManager getMimeType:] in libMMSDK.a(MMFileManager.o)
  "_kUTTagClassFilenameExtension", referenced from:
  -[MMFileManager getMimeType:] in libMMSDK.a(MMFileManager.o)
  "_kUTTagClassMIMEType", referenced from:
  -[MMFileManager getMimeType:] in libMMSDK.a(MMFileManager.o)
 ld: symbol(s) not found for architecture i386
 collect2: ld returned 1 exit status

i didn't changed the adwhirl adapters, just drag the MM sdk into the project. this never happened for my admob integration.
plz help me

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

花心好男孩 2024-12-19 21:11:25

听起来您的项目中未包含 MobileCoreServices 框架。包含该框架,它应该可以工作。

It sounds like the MobileCoreServices framework isn't included in your project. Include that framework and it should work.

逆流 2024-12-19 21:11:25

找不到符号可能有以下原因:

  • 您没有添加包含缺少符号的代码,例如 UTTypeCreatePreferredIdentifierForTag
  • 您没有将您的应用程序与提供这些符号的库链接起来

检查您的目标的“将二进制文件与库链接”部分,并确保无论用于 MM 的库已添加到列表中。

未找到 i386 架构的符号

这表明您正在为 iOS 模拟器构建。有可能 MM 根本不提供在 iOS Simulator 中运行的代码,而仅在设备上运行。尝试进行设备构建。

Symbol not found can have the following causes:

  • You did not add the code that contains the missing symbols like UTTypeCreatePreferredIdentifierForTag
  • You did not link your app with the library that provides these symbols

Check your target's "Link Binary with Libraries" section and make sure that whatever library is used for MM is added to the list.

symbol(s) not found for architecture i386

This indicates that you're building for the iOS Simulator. It is possible that MM simply does not provide code that runs in iOS Simulator, only on devices. Try doing a device build.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文