[Solved]Bug when installing Vungle and Adcolony together

Hello all, I’m trying to install IAP using sdkbox, but i got a strange error. So I installed cocos2dx 3.9 and installed Vungle. Built ok. Installed Adcolony and got error:

I tried installing adcolony and it ran ok, but when i added vungle i get the exact same error.

Please help!

Matt

So nobody has any idea how to solve this problem? I’ve tried building new projects and using the clean sdkbox method, but nothing is working. Can someone please help me?

Matt

This is very similar error message what I covered so far, though I didn’t use the sdkbox.

That’s not related to installing Vungle and AdColony together.
Instead, try old version of AdColony SDK like v2.5.3 which is obtainable in here:
https://github.com/AdColony/AdColony-iOS-SDK/releases

Or…I guess you are using Xcode 6.
If you wanna use recent version of AdColony SDK, Xcode 7 could solve this problem.

That’s how I solved this problem.

AdColony 2.6 and up only works with Xcode 7

Thanks for answering my problem. It’s a strange bug. I’m using Xcode 7+ and if I install adcolony on its own it works fine, and if I install Vungle on its own it works fine, but whenever i have both installed at the same time i get the error message I posted above. I’ll try installing an older version of adcolony and i’ll get back to you with the results.

Matt

Hmmm I tried Adcolony version 2.5.3 and had the exact same error. It worked on its own, but when i installed Vungle it gave me the above error. Does anybody know what’s going on?

An alternative you can try is change your linker flag to -ObjC

Remove the force_load AdColony.framework entries

Thanks Nite, removing the force load stuff and leaving -objc got it running. Thanks a lot!

Matt