Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Brent Vatne <brentvatne@gmail.com>
  • Loading branch information
gabrieldonadel and brentvatne committed Mar 15, 2024
1 parent b456321 commit 7d57064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/cli/src/commands/InstallAndLaunchApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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."
);
}

Expand All @@ -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);
Expand Down

0 comments on commit 7d57064

Please sign in to comment.