|
1 | 1 | import iOSProxyServices = require("./../common/mobile/ios/ios-proxy-services"); |
2 | 2 | import iOSDevice = require("./../common/mobile/ios/ios-device"); |
3 | | -import iOSEmulatorService = require("./../common/mobile/ios/ios-emulator-services"); |
4 | 3 | import net = require("net"); |
5 | 4 | import ws = require("ws"); |
6 | 5 | import stream = require("stream"); |
@@ -45,7 +44,7 @@ function connectEventually(factory: () => net.Socket, handler: (socket: net.Sock |
45 | 44 | class IOSDebugService implements IDebugService { |
46 | 45 | constructor( |
47 | 46 | private $platformService: IPlatformService, |
48 | | - private $iOSEmulatorServices: iOSEmulatorService, |
| 47 | + private $iOSEmulatorServices: Mobile.IEmulatorPlatformServices, |
49 | 48 | private $devicesServices: Mobile.IDevicesServices, |
50 | 49 | private $platformsData: IPlatformsData, |
51 | 50 | private $projectData: IProjectData, |
@@ -102,7 +101,9 @@ class IOSDebugService implements IDebugService { |
102 | 101 | this.executeOpenDebuggerClient().wait(); |
103 | 102 | var projectId = this.$projectData.projectId; |
104 | 103 | var attachRequestMessage = notification.attachRequest(projectId); |
105 | | - this.$iOSEmulatorServices.postDarwinNotification(attachRequestMessage).wait(); |
| 104 | + |
| 105 | + var iOSEmulator = <Mobile.IiOSSimulatorService>this.$iOSEmulatorServices; |
| 106 | + iOSEmulator.postDarwinNotification(attachRequestMessage).wait(); |
106 | 107 | }).future<void>()(); |
107 | 108 | } |
108 | 109 |
|
|
0 commit comments