From 80b46633b28050f54a34c42baf1e6b5394e0a477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20Kn=C3=B6chel?= Date: Thu, 28 Sep 2023 09:28:23 +0200 Subject: [PATCH 1/2] chore: add help text to assist when no Simulators are available --- lib/simulator.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/simulator.js b/lib/simulator.js index 5047c60..872c84a 100644 --- a/lib/simulator.js +++ b/lib/simulator.js @@ -771,11 +771,13 @@ function findSimulators(options, callback) { } if (!simHandle) { + const helpText = '\n\nPlease open Xcode, navigate to "Window > Devices and Simulators" and create a new Simulator with your preferred configuration.'; + // user experience! if (options.simVersion) { - return callback(new Error(__('Unable to find an iOS Simulator running iOS %s.', options.simVersion))); + return callback(new Error(__(`Unable to find an iOS Simulator running iOS %s. ${helpText}`, options.simVersion))); } else { - return callback(new Error(__('Unable to find an iOS Simulator.'))); + return callback(new Error(__(`Unable to find an iOS Simulator. ${helpText}`))); } } else if (options.watchAppBeingInstalled && !watchSimHandle) { return callback(new Error(__('Unable to find a watchOS Simulator that supports watchOS %s', options.watchMinOSVersion))); From 007aa68d1efbbdc4e76f58d4a9a227cb88bc1b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20Kn=C3=B6chel?= Date: Thu, 28 Sep 2023 09:30:39 +0200 Subject: [PATCH 2/2] chore: bump version --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3b1a433..f3b0f63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ioslib", - "version": "1.7.34", + "version": "1.7.35", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ioslib", - "version": "1.7.34", + "version": "1.7.35", "license": "Apache-2.0", "dependencies": { "always-tail": "0.2.0", diff --git a/package.json b/package.json index d95b255..887ed73 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ioslib", - "version": "1.7.34", + "version": "1.7.35", "description": "iOS Utility Library", "keywords": [ "appcelerator",