swordray
swordray

Reputation: 842

AdMob SDK complie failed under iOS 7.1

compile failed with log:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
      objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
  "_SKStoreProductParameterITunesItemIdentifier", referenced from:
      -[GADOpener openInAppStore:fallbackURLString:] in libGoogleAdMobAds.a(GADOpener.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Upvotes: 3

Views: 1164

Answers (2)

ET Worker
ET Worker

Reputation: 275

try to add CoreTelephony and CoreText in framework of project.

Upvotes: 2

remudada
remudada

Reputation: 3791

Double check to make sure that the GAD library has been added in xcode linked frameworks and libraries.

The second thing to look at is the Storekit framework. These classes that are giving you an error are from the storekit. Check to ensure that it's added to your project

Upvotes: 5

Related Questions