Commit 3f7294d
committed
Fix check for ios simulator
When we check if there is running simulator we use ps cax but if the simulator is killed for a short period of time after that there is a process listed when using ps cax and we decide that there is a running simulator and then we try to use it but ios-sim-portable returns null. We should check if the simulator returned from ios-sim-portable is not null or undefined in order to continue to work with it.1 parent e12fe8c commit 3f7294d
1 file changed
+1
-1
lines changed- appbuilder/services/npm-service.ts+63-5
- declarations.d.ts+23-1
- http-client.ts+4-4
- mobile/ios/device/ios-core.ts+89-89
- mobile/mobile-core/ios-simulator-discovery.ts+5-16
- services/hooks-service.ts+37-8
- services/livesync-service-base.ts-1
- services/livesync/sync-batch.ts+25
- services/typescript-service.ts+16-24
- test/unit-tests/mobile/ios-simulator-discovery.ts+5-19
0 commit comments