This is a convenient library that lists the Info.plist keys for obtaining permission to use certain functions to protect user privacy, and also makes it easy to determine if there are any omissions.
guard (InfoPlistKeys.locationAlwaysUsageDescription.getAsString() != nil) || (InfoPlistKeys.locationWhenInUseUsageDescription.getAsString() != nil) else {
assertionFailure("No info.plist property for Location")
return
}