Skip to content

Commit a9471e9

Browse files
Fatme HavaluovaFatme Havaluova
Fatme Havaluova
authored and
Fatme Havaluova
committed
Fix ios debugger
1 parent be2bc50 commit a9471e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/services/ios-debug-service.ts

+3
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,9 @@ class IOSDebugService implements IDebugService {
218218
cmd = `open -a Safari "${inspectorSourceLocation}"`;
219219
} else {
220220
let inspectorApplicationPath = path.join(inspectorPath, "NativeScript Inspector.app");
221+
if(!this.$fs.exists(inspectorApplicationPath).wait()) {
222+
this.$fs.unzip(path.join(inspectorPath, "NativeScript Inspector.zip"), inspectorPath).wait();
223+
}
221224
cmd = `open -a '${inspectorApplicationPath}' --args '${inspectorSourceLocation}' '${this.$projectData.projectName}'`;
222225
}
223226

0 commit comments

Comments
 (0)