xamarin-macios/tools/siminstaller
monojenkins 7ebaaf4ae0
[siminstaller] Update parsing xml because Apple changed their schema. (#8231)
Apparently file sizes can be real numbers now, because in the manifest of
downloadable simulators there's one entry where the fileSize is a real:

			<key>fileSize</key>
			<real>2049324382</real>

when every other file size in the manifest is an integer.

So handle real file sizes too, and fix file size parsing to not throw
exceptions if the number can't be parsed. Maybe we'll get imaginary file sizes
too one day...

Fixes this exception:

    Unhandled Exception:
    System.NullReferenceException: Object reference not set to an instance of an object
      at xsiminstaller.MainClass.Main (System.String[] args) [0x00617] in /Users/rolf/work/maccore/d16-6/xamarin-macios/tools/siminstaller/Program.cs:194

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-03-30 16:50:03 -04:00
..
Makefile [system-dependencies] Improve error message when siminstaller can't find simulators to explain what to do. (#6632) 2019-07-23 07:39:18 -07:00
Program.cs [siminstaller] Update parsing xml because Apple changed their schema. (#8231) 2020-03-30 16:50:03 -04:00
README.md Add tool to download and install simulators, and use it to provision the iOS 10.3 simulator if needed. Fixes maccore#1442. (#5645) 2019-02-22 10:39:16 +01:00
siminstaller.csproj Switch to mono archive and remove submodule 2019-05-21 22:16:02 +02:00
siminstaller.sln Add tool to download and install simulators, and use it to provision the iOS 10.3 simulator if needed. Fixes maccore#1442. (#5645) 2019-02-22 10:39:16 +01:00

README.md

SimInstaller

This is a simple tool that can install old simulator versions for Xcode from the command line.