From 7d570644f88629b7ca0adfa3a4ee7cecf3af175b Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Dall'Agnol Date: Fri, 15 Mar 2024 01:57:21 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Brent Vatne --- apps/cli/src/commands/InstallAndLaunchApp.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/cli/src/commands/InstallAndLaunchApp.ts b/apps/cli/src/commands/InstallAndLaunchApp.ts index 97e76402..84cb82b6 100644 --- a/apps/cli/src/commands/InstallAndLaunchApp.ts +++ b/apps/cli/src/commands/InstallAndLaunchApp.ts @@ -32,7 +32,7 @@ async function installAndLaunchIOSAppAsync(appPath: string, deviceId: string) { if (await Simulator.isSimulatorAsync(deviceId)) { if (appType === 'device') { throw new Error( - "iOS device builds can't be installed on simulators. Either use a physical device or generate a new simulator build." + "iOS apps built to target physical devices can't be installed on simulators. Either use a physical device or generate a new simulator build." ); } @@ -44,7 +44,7 @@ async function installAndLaunchIOSAppAsync(appPath: string, deviceId: string) { if (appType === 'simulator') { throw new Error( - "iOS simulator builds can't be installed on real devices. Either use a simulator or generate an internal distribution build." + "iOS simulator builds can't be installed on physical devices. Either use a simulator or generate an internal distribution build." ); } const appId = await AppleDevice.getBundleIdentifierForBinaryAsync(appPath);