Detect exclusion of Info.plist entries
zakkhoyt opened this issue · comments
Zakk Hoyt commented
For example. in coreLocation if the previous and new status are both Not determined, then it's likely that the app dev forgot to add NSLocationAlwaysUsageDescription | NSLocationWhenInUseUsageDescription
Zakk Hoyt commented
Info.plist entries can be queried at runtime like so:
NSString *executable = [bundle objectForInfoDictionaryKey:(NSString *)kCFBundleExecutableKey];
For each permission that the client uses, check if this is defined and log a warning to the console if not