在提交APPStore的时候,提示提交成功了,但是等了一个晚上,在itunes connect上也没显示版本.后来才发现是苹果发现问题,直接发到你开发者账号留下的邮箱里面,给出下面的问题:We have discovered one or more issues with your recent delivery for xxxx.To process your delivery, the following issues must be corrected:
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
翻译下:这个应用程序试图访问隐私敏感的数据,而没有使用描述。应用程序的Info.plist必须包含一个字符串值,解释如何使用这些数据的应用程序的用户nsmicrophoneusagedescription关键。
这让我知道有关xcode8/IOS10,苹果对于用户的隐私保护更加严格了,文档中的描述:
You must statically declare your app’s intended use of protected data classes by including the appropriate purpose string keys in your Info.plist file.
Contacts, Calendar, Reminders, Photos, Bluetooth Sharing, Microphone, Camera, Location, Health, HomeKit, Media Library, Motion, CallKit, Speech Recognition, SiriKit, TV Provider.
还有2个 :
- 电视供应商使用权限:Privacy - TV Provider Usage Description
- 视频用户账号使用权限:Privacy - Video Subscriber Account Usage Description