iOS Question inMobi Mediation

Dennis Glowack

Member
Licensed User
I've successfully added AdMob ads to my app. Now, I'm learning about mediation. I've chosen inMobi. I've done all the prerequisite work and AdMob shows inMobi as a mediation group. I've added these references as directed:

#AdditionalLib: InMobiSDK.framework.3
#AdditionalLib: AdapterInMobi
#AdditionalLib:libsqlite3.dylib
#AdditionalLib:libz.dylib
#AdditionalLib:WebKit.framework

The Compilation Fails with the AdapterInMobi Lib with a massive error; but ends with:

Error: ** BUILD FAILED **

The following build commands failed:
Ld /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/Binary/iDeliverPro normal armv7
(1 failure)

I've attached the entire log as text file, if it helps.

Thanks for any assistance
 

Attachments

  • error.txt
    436 KB · Views: 331

Erel

B4X founder
Staff member
Licensed User
Longtime User
The relevant error is this:

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

The tutorial about InMobi is quite old, the dependencies should probably be updated.

Check their documentation: https://support.inmobi.com/monetize/mediation-guidelines/admob/ios-admob-guidelines
 
Upvote 0

Dennis Glowack

Member
Licensed User
The relevant error is this:

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

The tutorial about InMobi is quite old, the dependencies should probably be updated.

Check their documentation: https://support.inmobi.com/monetize/mediation-guidelines/admob/ios-admob-guidelines

thanks
 
Upvote 0

Dennis Glowack

Member
Licensed User
I read the documentation and updated what I could. All compiled except the new adapter library. If I understand correctly, since I use the hosted builder, I can’t add that library to B4i. If so, maybe sometime in the future you can update the host? InMobi seemed to be the easiest starting point, for me. It’s not critical, I can try playing with another mediation group.

Thanks for what you do.
 
Upvote 0
Top