0

我刚在 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 文件可能有问题,但我不知道问题可能是什么?

4

1 回答 1

1

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

我进行了以下更改以使其构建:

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

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

于 2014-06-24T05:26:54.273 回答