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; }