Luigino De Togni Luigino De Togni - 1 year ago 107
iOS Question

Xamarin ios archive crash after signed

I have a iOS project, which link a binding library and correctly works without issues.
But when I send xarchive to my customer (so xarchive is signed from him), his app crashes at launch
It seem I miss something during the xarchive build?
Using an external library maybe I have to check additional options in xamarin studio build tab?

pluggin iPad and launching Xcode devices windows, error is:

Runtime error: The assembly mscorlib.dll was not found or could not be

Searching I found this:

This issue occurs when the hidden .monotouch-32 and .monotouch-64
folders are missing from the .xcarchive for signing / IPA creation,
triggering the runtime error.

How can I fix it?

Answer Source

I confirm issue was related to

My archive was uploaded to my owncloud company. Owncloud client doesn't upload hidden files/folders (as .monotouch-32 and .monotouch-64), so xarchive received by customer was different and smaller and did not contain all references. I hope this help other people will have this issue.