ITMS-90738: Invalid value for purpose string - The value ‘NSLocationAlwaysUsageDescription should be set to a valid usage description’ for Info.plist NSLocationAlwaysUsageDescription is not allowed. Your app’s code references one or more APIs that access sensitive user data. The app’s Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data.
I’ve got this message, after trying to upload a new building to apple store.
I didn’t change anything on my build.settings
iphone = { xcassets = "Images.xcassets", plist = { LSApplicationQueriesSchemes = { "comgooglemaps" }, UIBackgroundModes = {"remote-notification"}, NSAppTransportSecurity = { NSAllowsArbitraryLoads = true, }, --NSLocationAlwaysUsageDescription = "Necessita de dar permissão de acesso ao mapa para mostrar a localização do produtor.", --NSLocationWhenInUseUsageDescription = "Necessita de dar permissão de acesso ao mapa para mostrar a localização do produtor.", UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", }, }
Why I need to enable “NSLocationAlwaysUsageDescription”?
it’s onesignal plugin problem?
plugins = { ["plugin.utf8"] = { publisherId = "com.coronalabs" }, ["plugin.OneSignal"] = { publisherId = "com.onesignal", } },