Changes:
1) Include configuration Mojave + Xcode 10.3 to the yml file
2) Fix ios_version on Xcode 10.3
Previously we used mapping ios_version.minor = xcode_minor but Xcode 10.3 contains simulators for 12.4
3) Refactoring:
Moved logic to get default simulator to the Xcode class
Moved logic to get ios_version to the Xcode class
The main advantage of this refactoring is that we can reuse this logic in other services.
For example, the following logic exists in calabash-ios-server too
version = xcode.version
xcode_major = version.major
xcode_minor = version.minor
major = xcode_major + 2
minor = xcode_minor
Changes: 1) Include configuration
Mojave + Xcode 10.3
to the yml file 2) Fixios_version
on Xcode 10.3 Previously we used mappingios_version.minor = xcode_minor
butXcode 10.3
contains simulators for12.4
3) Refactoring:The main advantage of this refactoring is that we can reuse this logic in other services. For example, the following logic exists in
calabash-ios-server
too4) Add tests to cover new logic