[英]ITMS-90683: Missing Purpose String in Info.plist
Deploying the app on testFlight I'm having the following issue,在 testFlight 上部署应用程序我遇到了以下问题,
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.
应用程序的 Info.plist 文件应该包含一个 NSLocationAlwaysUsageDescription 键和一个面向用户的目的字符串,清楚和完整地解释为什么你的应用程序需要数据。
Even if I have include on the Info.plist file the keys needed for the location access.即使我在 Info.plist 文件中包含了位置访问所需的密钥。
The app is submitted for review and tests but I'm still getting an email on every submit that says:该应用程序已提交以供审查和测试,但我仍然在每次提交时收到 email,上面写着:
Version: 1.0.2 Build: 74) has one or more issues
Version: 1.0.2 Build: 74) 有一个或多个问题
I've checked the solution here in order to add the deprecated keys too我在这里检查了解决方案,以便也添加已弃用的密钥
Error Appstore connect: Missing Purpose String in Info.plist File Appstore 连接错误:Info.plist 文件中缺少目的字符串
Sorry, perhaps I'm missing something here?抱歉,也许我在这里遗漏了什么?
Right click on your Info.plist
file.右键单击您的
Info.plist
文件。 then click on 'Open As' -> 'Source Code'.然后单击“打开为”->“源代码”。
Now find and replace below keys,现在找到并替换下面的键,
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>your description.</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>your description</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>your description.</string>
Property list view of your info.plist
is not showing like您的
info.plist
的属性列表视图未显示
Privacy - Location always and when In Use Usage Description
Privacy - Location always Usage Description
Instead it is showing NSLocationAlwaysAndWhenInUseUsageDescription
and NSLocationAlwaysUsageDescription
相反,它显示
NSLocationAlwaysAndWhenInUseUsageDescription
和NSLocationAlwaysUsageDescription
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.