[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode 0bc8d8d 477/496: Use isAvailable when reading s
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode 0bc8d8d 477/496: Use isAvailable when reading simctl device JSON |
Date: |
Sun, 29 Aug 2021 11:34:31 -0400 (EDT) |
branch: elpa/swift-mode
commit 0bc8d8d80736d6d874edf8f59c0b37618368b183
Author: Josh Caswell <josh@scylla>
Commit: taku0 <taku0@users.noreply.github.com>
Use isAvailable when reading simctl device JSON
`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-repl.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/swift-mode-repl.el b/swift-mode-repl.el
index fdbf76c..0425cd9 100644
--- a/swift-mode-repl.el
+++ b/swift-mode-repl.el
@@ -431,8 +431,7 @@ or its ancestors."
(flattened (apply 'seq-concatenate 'list (seq-map 'cdr devices)))
(available-devices
(seq-filter
- (lambda (device)
- (string-equal (cdr (assoc 'availability device)) "(available)"))
+ (lambda (device) (cdr (assoc 'isAvailable device)))
flattened)))
available-devices))
- [nongnu] elpa/swift-mode c532c1e 402/496: Update documents, (continued)
- [nongnu] elpa/swift-mode c532c1e 402/496: Update documents, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode d35275b 417/496: Remove unused variables, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8a7be9c 424/496: Use remap for keymap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 56e21f8 427/496: Simplify autoloads, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 922dc52 445/496: Fix code format, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b260308 451/496: Declare local variables, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 1268425 455/496: Add links to various formatters, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a84f5c8 460/496: Support multi-parttern catch clauses, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode edec7d5 471/496: Suppress a doccheck warning for old versions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b93b97e 466/496: Bump version to 8.1.1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0bc8d8d 477/496: Use isAvailable when reading simctl device JSON,
ELPA Syncer <=
- [nongnu] elpa/swift-mode 800efe2 496/496: Fix tags of customization, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 370caa7 494/496: Update copyright notices, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 69b8934 080/496: Update readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 37fb4d0 119/496: Release 0.2.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ca6437a 116/496: Merge pull request #29 from ap4y/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 79622d7 123/496: Merge pull request #32 from ap4y/fix_nested_multi_line_comments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7826550 124/496: Fix code alignment, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode dd8f793 133/496: Make multi-line dot statement offset customisable value, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2d478bf 140/496: Merge pull request #46 from ap4y/multiline_op_statemenets, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode e09694f 158/496: Release 0.3.0, ELPA Syncer, 2021/08/29