【问题标题】:Missing Purpose String in Info.plist while uploading app to testlight with a localized app使用本地化应用程序将应用程序上传到 testlight 时,Info.plist 中缺少目的字符串
【发布时间】:2022-10-16 04:48:38
【问题描述】:
由于字符串已本地化为多种语言,因此我已在 info.plist 中使用变量名添加了所需的权限。
<key>NSCameraUsageDescription</key>
<string>$(NSCameraUsageDescription)</string>
我还将翻译后的字符串添加到 infoPlist.strings 作为
NSCameraUsageDescription" = "App wants to user your camera to scan the bill and scan the QR code";
这在运行应用程序时完美运行,但是在 testflight 中上传应用程序时显示缺少目的字符串错误。
【问题讨论】:
标签:
ios
flutter
dart
mobile
【解决方案1】:
信息列表:
<key>NSCameraUsageDescription</key>
<string>App wants to user your camera to scan the bill and scan the QR code</string>
infoPlist.strings:
NSCameraUsageDescription" = "App wants to user your camera to scan the bill and scan the QR code";