mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-10 15:46:35 +00:00
## Summary Improve iOS Simulator selection via `make run-ios` command. Currently : `make run-ios SIMULATOR="iPhone SE (3rd generation)"` would fail because of our scripts inability to deal with this kind of a pattern. This commit fixes that and makes this script more robust by storing output of `xcrun simctl list devices` in a json file `ios_simulators_list.json` and then using `jq` to properly get `UDIDs` of those simulators. This script will now also prompt you to download a simulator image if you do not already have it. The file `ios_simulators_list.json` will also help in future debugging when we want to check a quick summary of iOS simulator status of devs in the future. We also append `-verbose` to `xcodebuild` for debug `iOS` builds, this helps debugging. ## Review notes try such options -> `make run-ios SIMULATOR="iPhone SE (3rd generation)"` ## Platform - iOS