Search code examples
iphoneiosobjective-cadmobinmobi

Undefined symbols for architecture i386 InMobi


I am trying to implement Admob mediation on one iOS app. while integration with InMobi when I am building my project I am getting this error

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_IMCommonUtil", referenced from:
      objc-class-ref in libAdapterInMobi.a(GADInMobiExtras.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

please help


Solution

  • Have you not included the InMobi Commons library (libInMobiCommons) in your project?

    InMobi iOS AdNetwork Bundle: (http://developer.inmobi.com/wiki/index.php?title=InMobi_SDK_3.6.0_for_iOS#Getting_Started)

    IMAdDelegate.h
    IMAdError.h
    IMAdInterstitial.h
    IMAdInterstitialDelegate.h
    IMAdRequest.h
    IMAdView.h
    IMCommonUtil.h
    libInMobiAdNetwork-3.6.0.a
    libInMobiCommons-3.6.0.a