sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

ITMS-90683: Missing purpose string in Info.plist #347

Closed EchoLunar closed 3 months ago

EchoLunar commented 3 months ago

I used the "Location" feature in version 10.0.1 and added NSLocationWhenInUseUsageDescription to my info.plist file. However, when I packaged the project and submitted it to Testflight, I received an email from Apple stating ITMS-90683: Missing purpose string in Info.plist, indicating that I should add NSLocationAlwaysAndWhenInUseUsageDescription.

When I reverted the version back to 9.x, everything was OK. I would like to know if it is now necessary to add both keys to the plist, or if the email was triggered because Apple's machine review detected relevant code related to "Location".

ivanvorobei commented 3 months ago

You shoud add both keys to plist