【问题标题】:MoPub errors when switching to 64 bit切换到 64 位时出现 MoPub 错误
【发布时间】:2014-06-10 15:10:08
【问题描述】:

我刚刚在 XCode 模拟器上换了 iPhone 5 64 位来测试我的游戏,MoPub 广告和我得到了很多编译错误。

"ld: warning: ignoring file
//Game/src/Classes/MoPubSDK/AdNetworkSupport/Millennial/SDK/libMMSDK_5.1.1.a,
missing required architecture x86_64 in file
//Game/src/Classes/MoPubSDK/AdNetworkSupport/Millennial/SDK/libMMSDK_5.1.1.a
(3 slices)ld: warning: ignoring file
//Game/src/Classes/MoPubSDK/AdNetworkSupport/Millennial/SDK/SpeechKit/SpeechKit.framework/SpeechKit,
missing required architecture x86_64 in file
//Game/src/Classes/MoPubSDK/AdNetworkSupport/Millennial/SDK/SpeechKit/SpeechKit.framework/SpeechKit
(3 slices)ld: warning: ignoring file
/Game/src/Classes/MoPubSDK/AdNetworkSupport/GoogleAdMob/SDK/libGoogleAdMobAds.a,
missing required architecture x86_64 in file
//Game/src/Classes/MoPubSDK/AdNetworkSupport/GoogleAdMob/SDK/libGoogleAdMobAds.a
(3 slices)

我联系了 MoPub,他们说 Millennial 和 AdMob 文件可能有问题,但我不知道问题可能是什么?

【问题讨论】:

    标签: ios objective-c admob mopub


    【解决方案1】:

    我遇到了同样的问题。我将 MoPub 添加到我的应用程序中,但它不再编译 - 抛出与您类似的错误。

    我进行了以下更改以构建它:

    1. 从我的项目中删除了“libGoogleAdMobAds.a”(在 MoPub>AdNetworkSupport>GoogleAdMob>SDK 中找到)
    2. 已下载最新的 Google 移动广告 iOS SDK (6.9.3)
    3. 将最新 Google 移动广告 iOS SDK 中的“libGoogleAdMobAds.a”添加到我的项目中,与之前存在的目录相同

    我现在可以在我的 iPhone 5S 上构建和运行。有点像黑客。需要深入挖掘,看看是否还有其他我可能遗漏的东西。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-04-15
      • 1970-01-01
      • 1970-01-01
      • 2016-09-25
      • 2012-04-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多