[英]I am getting this error when trying to upload the app to testflight "ITMS-90683: Missing Purpose String in Info.plist"
I have added the following code in the 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>
I am creating the archive in Xcode and re distributing and still getting the error Missing Purpose String in Info.plist"我正在 Xcode 中创建存档并重新分发,但仍然在 Info.plist 中收到错误 Missing Purpose String"
As on Apple documentation for NSAllowsArbitraryLoads与NSAllowsArbitraryLoads的 Apple 文档一样
Important You must supply a justification during App Store review if you set the key's value to YES, as described in Provide Justification for Exceptions.
重要如果您将密钥的值设置为 YES,您必须在 App Store 审核期间提供理由,如提供例外理由中所述。 Use this key with caution because it significantly reduces the security of your app.
请谨慎使用此密钥,因为它会显着降低应用程序的安全性。 In most cases, it's better to upgrade your servers to meet the requirements imposed by ATS, or at least to use a narrower exception.
在大多数情况下,最好升级您的服务器以满足 ATS 强加的要求,或者至少使用更窄的例外。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.