Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova CLI build failed #3

Open
ruudruud opened this issue Mar 12, 2015 · 6 comments
Open

Cordova CLI build failed #3

ruudruud opened this issue Mar 12, 2015 · 6 comments

Comments

@ruudruud
Copy link

While building an iOS cordova application with Cordova CLI the build crashes with MMedia. All other ad network plugins work perfectly (Flurry, InMobi, etc.).

Commands used:

cordova plugin add com.google.cordova.admob-mmedia
cordova build ios

Error:

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_GADAdMobExtras", referenced from:
      _OBJC_CLASS_$_GADMillennialExtras in libAdapterMillennial.a(GADMillennialExtras.o)
  "_OBJC_METACLASS_$_GADAdMobExtras", referenced from:
      _OBJC_METACLASS_$_GADMillennialExtras in libAdapterMillennial.a(GADMillennialExtras.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

The following build commands failed:
    Ld build/emulator/XXX\ XXX\ XXX.app/XXX\ XXX\ XXX normal i386 (1 failure)
ERROR building one of the platforms: Error: /Users/XXX/Desktop/XXX/platforms/ios/cordova/build: Command failed with exit code 65
You may not have the required environment or OS to build this project
@ruudruud ruudruud changed the title Cordova CLI failed build Cordova CLI build failed Mar 12, 2015
@floatinghotpot
Copy link
Owner

Are you using Xcode 5 or 6? If using xcode 5, upgrade to 6 first.

@ruudruud
Copy link
Author

Thank you for your quick reply. I am using Xcode version 6.2 (6C131e), this version was released 3 days ago.

@floatinghotpot
Copy link
Owner

I tried building and it did fail.

After some study, I think it's because the mmedia mediation adapter is not compatible with new admob sdk 7.0. You will find in the change log of admob sdk 7.0 release notes here:
https://developers.google.com/mobile-ads-sdk/rel-notes#ios
As mentioned:
"Replaced GADAdMobExtras and DFPExtras with a single GADExtras class"

The mmedia adapter was build in Jun 2014, so it's outdated. Will contact millennial media to update the adapter, but they are quite slow to response.

@ruudruud
Copy link
Author

Ugh, that's bad news. That is a big issue. Hopefully they will update the adapter soon.

Thanks for finding this issue so fast, and keep me posted please.

@Chuckv01
Copy link

+1

@matt-way
Copy link

+1

This also appears to be relevant. https://groups.google.com/forum/#!topic/google-admob-ads-sdk/FH9y3S58JRk

It looks like the adapter has been updated, just not the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants