Xcode Segmentation fault: 11 possibly IL2CPP / Unity Ads related

Hi there,

First off im using xcode in a vm to do this, so I appreciate the answer is likely to be “do it the proper way”, but as this is my only option at the moment I post here in hope someone can offer a solution.

Ive successfully managed to build and archive a few times before but since using IL2CPP ive been unable to progress beyond this error. I have tried all the usual cleaning, deleting derived data, setting optimization level to None[-O0], basically most suggested fixes for segmentation fault 11 errors, but to no effect.

Im using the latest xcode, latest Unity, building in windows and copying over to the VM for building in xcode. The error i get at the bottom of a verbose readout is:

Looking for the function IsWordBreak_m19 in Bulk_Assembly-CSharp-firstpass_0.cpp it is listed with reference to Unity Ads.

So i dont know if its an issue with UnityAds or IL2CPP or my build method. If the error rings any bells for anyone a bit of guidance would be greatly appreciated.

I haven’t seen anything like this. Which version of Unity are you using to build with?

As a test of your environment, import the Unity Ads Helper package into a new project. There’s an example scene found in the UnityAdsHelper/Examples directory. Add it to your list of scenes in Build Settings and build to device.

If you’re using Unity 5.2, you can enable Unity Ads from the Services window. If you’re using an earlier version of Unity, be sure to import the latest Unity Ads asset package from the asset store.

Well despite saying i had the latest Unity version I was unaware of yesterdays 5.2 release until late last night. I will download tonight.
Ive not tried the UnityAds example project, but have tried an otherwise blank project with Unity Ads / Admob together with the same error.
Once ive got 5.2 up and figured out the new Ad implementation I will compare and contrast. Thanks.

Well the good news it is not Unity Ads related, it throws similar (though different) errors on completely blank projects. I suspect IL2CPP is not getting on with my environment. Suppose il have to explore other options.