Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Moved simctl and simulator executable definition from findSimulators() to detect() so that exact Xcode simctl path is coupled with each sim handle. refactor: Revamped sim runtime lookup and added a device type lookup which eliminated a 3rd level nested for loop and simplifies valid runtime resolution. fix: Fixed bug where non-iPhone, non-iPad, and non-Watch device types would be treated as watch devices and ultimately cause an error because Apple TV devices don't have a model number. refactor: Removed 'isAvailable' property added in PR #93 since the correct solution is not to track availability, but separate the selected Xcode from the Xcode associated with the requested simulator. fix: Added check to ensure watchCompanion cache only considers valid watchOS ranges. fix: Correct sort Xcodes in findSimulators() so that the iOS version takes precedence followed by the system selected Xcode and the latest version. fix: Select Xcode version based on specified iOS SDK version, system selected version, or latest version and don't worry about the version used to launch the simulator. style: Removed a handful of unused variables. fix: Fixed simulator device pair compatiblity lookup where >=4.x and >=3.2 would incorrectly include watchOS 5 and 6. chore: Updated npm deps within minor/patch ranges.
- Loading branch information