We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2173df3 + 1eb493d commit 1aa80f3Copy full SHA for 1aa80f3
lib/simctl.ts
@@ -37,7 +37,16 @@ export class Simctl implements ISimctl {
37
}
38
39
public getAppContainer(deviceId: string, applicationIdentifier: string): IFuture<string> {
40
- return this.simctlExec("get_app_container", [deviceId, applicationIdentifier]);
+ return (() => {
41
+ try {
42
+ return this.simctlExec("get_app_container", [deviceId, applicationIdentifier]).wait();
43
+ } catch(e) {
44
+ if (e.message.indexOf("No such file or directory") > -1) {
45
+ return null;
46
+ }
47
+ throw e;
48
49
+ }).future<string>()();
50
51
52
public getDevices(): IFuture<IDevice[]> {
0 commit comments