Google AdMob compilation error in PhoneGap/Cordova
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.