简体   繁体   English

错误 ITMS-90683:Info.plist 中缺少目的字符串

[英]ERROR ITMS-90683: Missing Purpose String in Info.plist

I tried to upload my application to App Store Connect.我试图将我的应用程序上传到 App Store Connect。 This app writes data to the Health app, but never reads them.此应用程序将数据写入健康应用程序,但从不读取它们。 Therefore, I just added the key NSHealthUpdateUsageDescription in the Info.plist file.因此,我只是在 Info.plist 文件中添加了密钥 NSHealthUpdateUsageDescription。 However, when uploading the file, I get the following error:但是,在上传文件时,我收到以下错误:

ERROR ITMS-90683: "Missing Purpose String in Info.plist. Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSHealthShareUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more错误 ITMS-90683:“Info.plist 中缺少目的字符串。您的应用程序的代码引用了一个或多个访问敏感用户数据的 API。应用程序的 Info.plist 文件应包含一个 NSHealthShareUsageDescription 键和一个面向用户的目的字符串,清楚而完整地解释为什么您的应用需要数据。从 Spring 2019 开始,所有提交到 App Store 的访问用户数据的应用都需要包含目的字符串。如果您使用外部库或 SDK,它们可能会引用需要目的字符串的 API。虽然您的应用可能不使用这些 API,但仍需要使用目的字符串。您可以联系库的开发人员或 SDK 并请求他们发布不包含 API 的代码版本。了解更多

My question: do I really have to include NSHealthShareUsageDescription if I don't need to read the data from HealthKit?我的问题:如果我不需要从 HealthKit 读取数据,我真的必须包含 NSHealthShareUsageDescription 吗?

I'm really confused.我真的很困惑。 I certainly missed something.我当然错过了一些东西。

Thanks for your help.谢谢你的帮助。

As mentioned by Jerome Diaz I indeed missed the sentence: While your app might not use these APIs, a purpose string is still required.正如Jerome Diaz所说,我确实错过了这句话:虽然您的应用程序可能不使用这些 API,但仍需要目的字符串。

It means that you have to add both strings:这意味着您必须添加两个字符串:

  • NSHealthUpdateUsageDescription NSHealthUpdateUsageDescription
  • NSHealthShareUsageDescription NSHealthShareUsageDescription

暂无
暂无

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

相关问题 ITMS-90683:Info.plist NSCameraUsageDescription 中缺少目的字符串 - ITMS-90683: Missing Purpose String in Info.plist NSCameraUsageDescription ITMS-90683:Info.plist 中缺少目的字符串 - ITMS-90683: Missing Purpose String in Info.plist Xocde-错误ITMS-90683 Info.plist文件中缺少目的字符串 - Xocde - ERROR ITMS-90683 Missing Purpose String in Info.plist File 尝试将应用程序上传到 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" ITMS-90683:NSCameraUsageDescription键的Info.plist中缺少目的字符串 - ITMS-90683: Missing Purpose String in Info.plist for NSCameraUsageDescription key Phonegap App Store 提交:ITMS-90683:Info.plist 中缺少目的字符串 - NFCReaderUsageDescription - 未使用插件 - Phonegap App Store Submit: ITMS-90683: Missing Purpose String in Info.plist - NFCReaderUsageDescription - Not Using Plugin 我应该如何处理 ITMS-90683:Info.plist 中缺少目的字符串 - What should I do about ITMS-90683: Missing Purpose String in Info.plist ITMS-90683:Info.plist NSMicrophoneUsageDescription 中缺少目的字符串,flutter - ITMS-90683: Missing Purpose String in Info.plist NSMicrophoneUsageDescription, flutter 错误 App Store Connect:“ITMS-90683:Info.plist 中缺少目的字符串”和“ITMS-90078:缺少推送通知权利”[Flutter] - Error App Store Connect: 'ITMS-90683: Missing Purpose String in Info.plist' & 'ITMS-90078: Missing Push Notification Entitlement' [Flutter] Ios react-native 无法部署到应用商店获取 ITMS-90683:Info.plist 中缺少目的字符串 - Ios react-native cant deploy to app store getting ITMS-90683: Missing Purpose String in Info.plist
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM