Skip to content

Conversation

@woolsweater
Copy link
Contributor

swift-mode:debug-ios-app was failing because no simulator could
be configured; the output of simctl was not as expected.

The availability field of the device object had been deprecated
and was removed as of Xcode 11 (see
https://developer.apple.com/documentation/xcode-release-notes/xcode-11-release-notes
heading "Resolved Issues") in favor of a boolean isAvailable.

`swift-mode:debug-ios-app` was failing because no simulator could be configured; the output of `simctl` was not as expected. The `availability` field of the `device` object had been deprecated and was removed as of Xcode 11 (see https://developer.apple.com/documentation/xcode-release-notes/xcode-11-release-notes heading "Resolved Issues") in favor of a boolean `isAvailable`.
@woolsweater
Copy link
Contributor Author

woolsweater commented Nov 25, 2020

I'm not sure it's possible to add tests for this -- is the CI running on a Mac with Xcode installed?

@taku0
Copy link
Member

taku0 commented Nov 28, 2020

Thank you for your PR. It works fine.

The CI is configured only for Linux machines for now. It is technically possible to setup CI for macOS with iOS simulators because GitHub Action provides macOS images with Xcode.

@taku0 taku0 merged commit 0bc8d8d into swift-emacs:master Nov 28, 2020
@woolsweater woolsweater deleted the simctl-device-isAvailable branch November 28, 2020 19:27
@woolsweater
Copy link
Contributor Author

Glad to be helpful! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants