Breaking News
Home / iOS / iOS Isuses / Xcode project build with AdMob SDk gives compiles errors. Help!

Xcode project build with AdMob SDk gives compiles errors. Help!

Undefined symbols for architecture armv7:
  “_SCNetworkReachabilityCreateWithAddress”, referenced from:
      +[GADGestureUtil reachability:] in libGoogleAdMobAds.a(GADGestureUtil.o)
  “_SCNetworkReachabilityUnscheduleFromRunLoop”, referenced from:
      -[GADNetworkChecker stopNetworkChecking] in libGoogleAdMobAds.a(GADNetworkChecker.o)
  “_SCNetworkReachabilityCreateWithName”, referenced from:
      -[GADNetworkChecker startNetworkChecking] in libGoogleAdMobAds.a(GADNetworkChecker.o)
  “_SCNetworkReachabilityScheduleWithRunLoop”, referenced from:
      -[GADNetworkChecker startNetworkChecking] in libGoogleAdMobAds.a(GADNetworkChecker.o)
  “_SCNetworkReachabilityGetFlags”, referenced from:
      +[GADGestureUtil reachability:] in libGoogleAdMobAds.a(GADGestureUtil.o)
  “_SCNetworkReachabilitySetCallback”, referenced from:
      -[GADNetworkChecker startNetworkChecking] in libGoogleAdMobAds.a(GADNetworkChecker.o)
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

Answer

Please add the following framework in project.

Select the framework -> add New Framework -> Select AudioTollbox.framework, MediaPlayer.framework,MessageUI.framework and SystemConfiguration.framework add in the Framework folder.

[pb_builder]

Check Also

local variable ‘build_data’ referenced before assignment : TestFlight Error : Failed to upload build.

Scenario Trying to upload build to TestFlight fails in the end. Error local variable ‘build_data’ …

Advertisment ad adsense adlogger