【问题标题】: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";
    

    【讨论】:

      猜你喜欢
      • 2023-04-01
      • 2020-05-15
      • 2020-04-23
      • 1970-01-01
      • 1970-01-01
      • 2014-03-13
      • 2020-01-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多