Skip to content

Commit

Permalink
fix: appropriately translate some system prompts
Browse files Browse the repository at this point in the history
on some environments such as iOS 16.1 simulator x Xcode 15.0 x CoreSimulator-932.2 x xcrun version 67
  • Loading branch information
mwakizaka committed Oct 31, 2023
1 parent a914a54 commit 8f44170
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/simulator-xcode-9.js
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,10 @@ class SimulatorXcode9 extends SimulatorXcode8 {
}

if (globalPrefs.AppleLanguages) {
// 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']
// com.apple.SpringBoard: translates com.apple.SpringBoard and system prompts for push notification
// com.apple.locationd: translates system prompts for location
// com.apple.tccd: translates system prompts for camera, microphone, contact, photos and app tracking transparency
await B.all(['com.apple.SpringBoard', 'com.apple.locationd', 'com.apple.tccd']
.map((arg) => this.simctl.spawnProcess([
'launchctl', 'stop', arg
]))
Expand Down

0 comments on commit 8f44170

Please sign in to comment.