繁体   English   中英

尝试将应用程序上传到 testflight 时出现此错误“ITMS-90683:Info.plist 中缺少目的字符串”

[英]I am getting this error when trying to upload the app to testflight "ITMS-90683: Missing Purpose String in Info.plist"

我在 Info.plist 中添加了以下代码

<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
    <key>NSAppleMusicUsageDescription</key>
    <string>Play using while you are hiking</string>
    <key>NSCameraUsageDescription</key>
    <string>Please Allow the app to access the device camera</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>Please Allow the app to access the device microphone</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>Privacy - Please Allow the app to handle your photos</string>
</dict>

我正在 Xcode 中创建存档并重新分发,但仍然在 Info.plist 中收到错误 Missing Purpose String"

NSAllowsArbitraryLoads的 Apple 文档一样

重要如果您将密钥的值设置为 YES,您必须在 App Store 审核期间提供理由,如提供例外理由中所述。 请谨慎使用此密钥,因为它会显着降低应用程序的安全性。 在大多数情况下,最好升级您的服务器以满足 ATS 强加的要求,或者至少使用更窄的例外。

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM