diff --git a/lib/simulator-xcode-9.js b/lib/simulator-xcode-9.js index 26089fd..426b29c 100644 --- a/lib/simulator-xcode-9.js +++ b/lib/simulator-xcode-9.js @@ -578,6 +578,11 @@ class SimulatorXcode9 extends SimulatorXcode8 { ]))); } + // In order to translate com.apple.SpringBoard, system prompts for push notification and system prompts for location + await B.all(['com.apple.SpringBoard', 'com.apple.locationd'].map((arg) => this.simctl.spawnProcess([ + 'launchctl', 'stop', arg + ]))); + return true; } }