Skip to content

Commit 8aadcc7

Browse files
committed
Put faceid in alphabet order
1 parent aa28c34 commit 8aadcc7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Available Permissions:
5151
calendar=YES|NO|unset
5252
camera=YES|NO|unset
5353
contacts=YES|NO|unset
54+
faceid=YES|NO|unset
5455
health=YES|NO|unset (iOS 12.0 and above)
5556
homekit=YES|NO|unset
5657
location=always|inuse|never|unset
@@ -62,5 +63,4 @@ Available Permissions:
6263
reminders=YES|NO|unset
6364
siri=YES|NO|unset
6465
speech=YES|NO|unset
65-
faceid=YES|NO|unset
6666
```

applesimutils/applesimutils/main.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ static BOOL performPermissionsPass(NSString* permissionsArgument, NSString* simu
225225
NSDictionary<NSString*, NSString*>* argumentToAppleService = @{@"calendar": @"kTCCServiceCalendar",
226226
@"camera": @"kTCCServiceCamera",
227227
@"contacts": @"kTCCServiceAddressBook",
228+
@"faceid": @"kTCCServiceFaceID",
228229
@"homekit": @"kTCCServiceWillow",
229230
@"microphone": @"kTCCServiceMicrophone",
230231
@"photos": @"kTCCServicePhotos",
@@ -233,7 +234,6 @@ static BOOL performPermissionsPass(NSString* permissionsArgument, NSString* simu
233234
@"motion": @"kTCCServiceMotion",
234235
@"siri": @"kTCCServiceSiri",
235236
@"speech": @"kTCCServiceSpeechRecognition",
236-
@"faceid": @"kTCCServiceFaceID",
237237
};
238238

239239
NSArray<NSString*>* parsedArguments = [permissionsArgument componentsSeparatedByString:@","];
@@ -440,6 +440,7 @@ int main(int argc, const char* argv[]) {
440440
@"calendar=YES|NO|unset",
441441
@"camera=YES|NO|unset",
442442
@"contacts=YES|NO|unset",
443+
@"faceid=YES|NO|unset",
443444
@"health=YES|NO|unset (iOS 12.0 and above)",
444445
@"homekit=YES|NO|unset",
445446
@"location=always|inuse|never|unset",
@@ -451,7 +452,6 @@ int main(int argc, const char* argv[]) {
451452
@"reminders=YES|NO|unset",
452453
@"siri=YES|NO|unset",
453454
@"speech=YES|NO|unset",
454-
@"faceid=YES|NO|unset",
455455
]
456456
}]);
457457

0 commit comments

Comments
 (0)