- Home /
adColony Crashs the 1st time it initializes in iOS.
I have an Issue with adColony unity plug in,were the first time you run the app after a fresh install, the App Crashs and closes. In all subsequent runs the app works great and adColony videos show flawlessly. We identified the error is in the initialize function of this plug in.
If we uninstall and reinstall the app it happens just the same. When you Initialize the adColony plugin it crashs the app, and every time I run the app after that works perfectly.
Do note that this only happens in iOS, we tested in an iPhone 3gs, iPad1, iPhone 4 and iPhone 5s and the bug is exactly the same in every device.
Have any of you guys had any similar issue?
Here's the line Xcode is identifying:
We have the same issue - did you find a solution or workaround?
We need to release a beta this week and will have to remove AdColony support entirely unless this gets fixed (Which also means removing a whole bunch of in-game UI which is going to be a royal pain in the neck).
Answer by sozeray · Sep 29, 2014 at 02:03 PM
I fixed this problem by adding the flag "-arc" to the "Other Linker Flags" under "Build Settings" of my project in xCode. Now my flags look like "-ObjC -arc -weak_framework CoreMotion -weak-lSystem". Hope it helps someone out there.
hi sozeray,
I had try the answer you provided but seems didn't work well to me. However thanks for your help. If you find out another better solutions please write down. Thank you.
Answer by cipi_m4 · Oct 27, 2014 at 11:22 PM
I fixed the problem by replacing the AdColony.framework in Plugins/iOS with the one from the AdColony iOS SDK.
Your answer
Follow this Question
Related Questions
App crash on launch. 1 Answer
I can't use google admob ads 1 Answer
Using Ad plugins on Android leads to extra crashes 0 Answers
My game crashing when I load or show an rewarded ads. 0 Answers
My game crashing when I load or show an rewarded ads. 1 Answer