Skip to content

Commit 64a1c91

Browse files
committed
Use async API from ios-sim
Fixes #3545
1 parent 04ef22f commit 64a1c91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/device-path-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class DevicePathProvider implements IDevicePathProvider {
1313
public async getDeviceProjectRootPath(device: Mobile.IDevice, options: IDeviceProjectRootOptions): Promise<string> {
1414
let projectRoot = "";
1515
if (this.$mobileHelper.isiOSPlatform(device.deviceInfo.platform)) {
16-
projectRoot = device.isEmulator ? this.$iOSSimResolver.iOSSim.getApplicationPath(device.deviceInfo.identifier, options.appIdentifier) : LiveSyncPaths.IOS_DEVICE_PROJECT_ROOT_PATH;
16+
projectRoot = device.isEmulator ? await this.$iOSSimResolver.iOSSim.getApplicationPath(device.deviceInfo.identifier, options.appIdentifier) : LiveSyncPaths.IOS_DEVICE_PROJECT_ROOT_PATH;
1717

1818
if (!projectRoot) {
1919
this.$errors.failWithoutHelp("Unable to get application path on device.");

0 commit comments

Comments
 (0)