The program stopped outright after running. (I wonder why you guys can use Unity Ads normally)
So the isDebugBuild here is apparently the static field of Advertisement.cs.
XCode tells you you should not do Debug.isDebugBuild from thread other than main thread. But if it is here it will being called before entering main thread… I got the Ads script from official page. Did I do something wrong?
Also error in UnityAds.cs in
private static string versionString = Application.unityVersion + "" + Advertisement.version;
For the same reason that static field are calling into something out of main thread. (unityVersion)

