简体   繁体   English

使用本地化应用程序将应用程序上传到 testlight 时,Info.plist 中缺少目的字符串

[英]Missing Purpose String in Info.plist while uploading app to testlight with a localized app

I have added the required permission in info.plist with the variable name as the strings are localized to multiple languages.由于字符串已本地化为多种语言,因此我已在 info.plist 中使用变量名添加了所需的权限。

    <key>NSCameraUsageDescription</key>
    <string>$(NSCameraUsageDescription)</string>

I have also added the translated string to the infoPlist.strings as我还将翻译后的字符串添加到 infoPlist.strings 作为

NSCameraUsageDescription" = "App wants to user your camera to scan the bill and scan the QR code";

This works perfectly while running the app however, shows the missing purpose string error while uploading the app in testflight.这在运行应用程序时完美运行,但是在 testflight 中上传应用程序时显示缺少目的字符串错误。

Add this NSCameraUsageDescription in your infoPlist在你的 infoPlist 中添加这个 NSCameraUsageDescription

<key>NSCameraUsageDescription</key>
<string>The reason for access to camera is…</string>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IOS 应用程序在添加 info.plist 时缺少用途字符串 - IOS app missing purpose string in info.plist while it is added Flutter ios 应用程序提交:Info.plist 中缺少目的字符串 - Flutter ios app submission: Missing Purpose String in Info.plist 应用商店在 Info.plist 错误中缺少目的字符串 - App store Missing Purpose String in Info.plist error 应用程序因Info.plist文件麦克风中缺少目的字符串而被拒绝,但我无法在info.plist中添加说明 - App got rejected for missing Purpose String in Info.plist File Microphone, but I can't add the description in info.plist IOS 应用商店错误:ionic3 中的 Info.plist 文件中缺少目的字符串? - IOS app store error : Missing Purpose String in Info.plist File in ionic3? 由于来自appstore的Info.plist文件中缺少目的字符串,拒绝响应本机iOS应用程序 - Rejected react native iOS app due to Missing Purpose String in Info.plist File from appstore Phonegap App Store 提交:ITMS-90683:Info.plist 中缺少目的字符串 - NFCReaderUsageDescription - 未使用插件 - Phonegap App Store Submit: ITMS-90683: Missing Purpose String in Info.plist - NFCReaderUsageDescription - Not Using Plugin 为什么使用NSBluetoothPeripheralUsageDescription键的“ Info.plist文件中缺少目标字符串”拒绝应用程序? - Why app is rejected with “Missing Purpose String in Info.plist File” for NSBluetoothPeripheralUsageDescription key? iTunes Connect 抱怨我的 Xamarin Forms 应用程序“Info.plist 中缺少目的字符串” - iTunes Connect complains about my Xamarin Forms app "Missing Purpose String in Info.plist" App Store Connect 拒绝发布“Info.plist 中缺少目的字符串”的应用程序发布,但该应用程序不需要这些权限 - App Store Connect is rejecting an app release saying “Missing Purpose String in Info.plist” but the app does not need those permissions
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM