Tags: MobileNativeFoundation/set-simulator-location
Tags
Fix for Xcode 10.1 (#13) Fixes an issue where set-simulator-location was failing to initialize its list of Simulators due to non-string values output by the newer version of xcrun shipped with Xcode 10.1. Also updates MapKit references for Swift 4.2.
Reorder failure errors (#10) When there are no locations found for a query, MapKit returns a NSError instead of an empty array. This resulted in us printing a opaque error. Now we'll do that last, only if there is an error, but we also found a place. Here's an example of a query that currently fails: Lyft HQ San Francisco
Add Xcode 9 support (#5) * Add Xcode 9 support With the large number of simulator changes in Xcode 9 came a change where the notification we're hijacking needs to send along the UDIDs of the simulators where the change should take effect. This is because you can have multiple running simulators with different locations. To do this, for now, we're just reading the output of `simctl list` and sending all booted UDIDs along. * Use JSON output instead