Integrate Google Ads in IOS - Problem after setting "other Linking Flags" to -ObjC

1,757 views
Skip to first unread message

John Hesselaar

unread,
Oct 2, 2014, 2:30:34 PM10/2/14
to google-adm...@googlegroups.com
Hi there
I am new with google ads and wanted to integrate this in my app Line Dance Organizer Lite".
The Documentation says it is was, my Problems driving me crazy for days now.
I added the SDKs and the Linked Frameworks and Libraries - I still can compile
Now I added "-ObjC" to "Other Linking Flags" and I get 5 Errors at compiling


Undefined symbols for architecture arm64:

  "_OBJC_CLASS_$_EKEvent", referenced from:

      objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)

  "_OBJC_CLASS_$_EKEventEditViewController", referenced from:

      objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)

  "_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:

      objc-class-ref in libGoogleAdMobAds.a(GADDevice.o)

  "_CTRadioAccessTechnologyDidChangeNotification", referenced from:

      -[GADDevice enableRadioAccessTechnologyChecking] in libGoogleAdMobAds.a(GADDevice.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


Any help is appreciated

Thanks a lot,
John 

Eric Leichtenschlag

unread,
Oct 3, 2014, 11:59:08 AM10/3/14
to google-adm...@googlegroups.com
From step 3 of the QuickStart guide, make sure to add all the frameworks that the SDK depends on. In particular, those errors indicate that the EventKit and CoreTelephony frameworks are missing.

Thanks,
Eric
Reply all
Reply to author
Forward
0 new messages