Swift port of https://github.com/cristianbica/CBSimulatorSeed