diff --git a/lib/services/livesync/ios-device-livesync-service.ts b/lib/services/livesync/ios-device-livesync-service.ts index 9239eb4d53..37494537df 100644 --- a/lib/services/livesync/ios-device-livesync-service.ts +++ b/lib/services/livesync/ios-device-livesync-service.ts @@ -24,7 +24,12 @@ export class IOSDeviceLiveSyncService extends DeviceLiveSyncServiceBase implemen } const appId = projectData.projectIdentifiers.ios; - this.socket = await this.device.getDebugSocket(appId, projectData.projectName); + try { + this.socket = await this.device.getDebugSocket(appId, projectData.projectName); + } catch (err) { + this.$logger.trace(`Error while connecting to the debug socket. Error is:`, err); + } + if (!this.socket) { return false; } diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index d339813092..e925e0edf5 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "nativescript", - "version": "5.2.0", + "version": "5.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -4217,9 +4217,9 @@ "integrity": "sha1-Jjj8OaAzHpysGgS3F5mTHJxQ33k=" }, "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" }, "lodash-node": { "version": "2.4.1", diff --git a/package.json b/package.json index 32393055df..ec598951b5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nativescript", "preferGlobal": true, - "version": "5.2.0", + "version": "5.2.1", "author": "Telerik ", "description": "Command-line interface for building NativeScript projects", "bin": { @@ -50,7 +50,7 @@ "istextorbinary": "2.2.1", "jimp": "0.2.28", "lockfile": "1.0.3", - "lodash": "4.17.10", + "lodash": "4.17.11", "log4js": "1.0.1", "marked": "0.5.1", "marked-terminal": "3.1.1",