Google AdMob compilation error in PhoneGap/Cordova

andrea mucci
Pixel Heart
Published in
1 min readSep 8, 2014

if you’re thinking to install Google AdMob in a PhoneGap project, is likely to get into this error:

ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

if this happens, you can solve it in the following manner.
1) Open with XCode the iOS project created by PhoneGap,
2) Add the following libraries in “Linked Frameworks and Libraries

  • AdSupport
  • CoreData
  • CoreGraphics
  • SystemConfiguration
  • MessageUI
  • AudioToolbox
  • StoreKit
  • CoreTelephony

recompile the project in Cordova or PhoneGap.

--

--

andrea mucci
Pixel Heart

Product of Italian Design from the summer of 75. In 2020, thanks to the pandemic lockdown i have released a python microservice framework calles MinOS.