I’m trying to have my app show ads on my iOS device and crashes when ads are initialized, i don’t think ther’s a problem with my code as it work on android devices; in order for my game to even start on iphones I need to change AdSupport.framework from required to optional in xcode(latest version), I have manually added the UnityAds.bundle and already have the UnityAds.framework in there, I read I also need to import the DeviceInfo.framework from my unity project in Assets/Plugins/iOS folder but is nowhere to be seen, imported unityads on both windows and mac to test and running Unity 4.6.1f1. My app ID is also already setup and entered properly in unity for both android and iphones with their own app ID. Any ideas where and if I need the DeviceInfo.framework to have my app work or any ideas; testing this on a iphone 3GS running 5.1.1, I have the minimum requirements right? couldn’t find much about this…
[bump] anyone???
It’s in your xcode project → Frameworks → Plugins → iOS.
Also, I don’t have to do anything with AdSupport.framework, I leave it as required.
if i dont change AdSupport.framework, to optional, my app crashes on launch.
and this is a unity project of course so you mean in the build folder? if so there’s no frameworks folder to begin with
if you mean in xcode itself, my whole point was that deviceinfo is not there and you’re normally suppose to add it from the ios plugins folder from unity which is also not there, hence i’m stuck if that’s what i even need n the 1st place T_T
Oooook,
Build iOS project from Unity → Go to the folder that was just created → Frameworks → Plugins → iOS.
If it’s not there, then I suggest to you that UnityAds isn’t installed properly and you should remove the plugin and reimport it.
I assume, once you’ve sorted the deviceinfo out, you’ll be able/ needing to leave AdSupport.framework as required.
thinking the same, but unfortunately already tried these steps i dont have a frameworks folder in my builded proect, people say it should be transfered automatically from unity at assets/plugins/iOS where the other frameworks files are but it’s not there… checked the list of files in the asset store itself and when you look at all the UnityAds content, there is no deviceinfo there too so yeaaa…???
I have the same issue. I tried to find solution for two days and I have no idea what to do. Does anybody have DeviceInfo.framework at all? I think I can download it from somewhere in the internet but I can’t.
anyone?