calabash / run_loop

The bridge between Calabash iOS and Xcode command-line tools like instruments and simctl.
Other
32 stars 41 forks source link

Add support for Xcode 10.3 #734

Closed maxim-lobanov closed 5 years ago

maxim-lobanov commented 5 years ago

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:

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

4) Add tests to cover new logic