I am currently developing an app which I left in a working, build-able, run-able state when I left work yesterday evening.
This morning, I updated Xamarin.iOS (I now have v10.8 on the Mac and v10.8.0.174 on my windows machine where Visual Studio runs). These version numbers are reported in the log on my windows machine C:\Users\\AppData\Local\Xamarin\Logs...
Since this, when I try to deploy the application to my device (iPhone 6S running iOS 10.3.1) it displays the Launch Screen then crashes almost immediately.
The Debug Output in Visual Studio only outputs the following:
Launching 'SynantixMobile.iOS' on 'Dave’s iPhone'... The app has been terminated. Launch succeeded. The app 'SynantixMobile.iOS' has been successfully launched on 'Dave’s iPhone'.
Browsing to '/Library/Frameworks/Xamarin.iOS.framework/Versions/' the Mac, reveals a folder called '10.8.0.175' (yet another different version number)
If I deploy to an iPhone Simulator, I get the following error:
2017-04-25 10:55:55.493 SynantixMobile.iOS[2614:25260] warning: cant resolve internal call to "System.Reflection.AssemblyName::GetNativeName(intptr)" (tested without signature also) 2017-04-25 10:55:55.494 SynantixMobile.iOS[2614:25260] Your mono runtime and class libraries are out of sync. 2017-04-25 10:55:55.494 SynantixMobile.iOS[2614:25260] The out of sync library is: /Users/davecox/Library/Developer/CoreSimulator/Devices/F728465E-AFF4-4B18-AB36-686ECFBEC10A/data/Containers/Bundle/Application/15286A38-2D2B-41DE-8D80-FE4A145A63D3/SynantixMobile.iOS.app/.monotouch-64/mscorlib.dll 2017-04-25 10:55:55.494 SynantixMobile.iOS[2614:25260] When you update one from git you need to update, compile and install the other too.
So it seems that the update has resulted in incorrect versions - but how do I fix this? There are no further updates available, I'm not sure how to repair this. Is it possible to roll back the update that was applied this morning? Does anyone have any other bright ideas?