Describe the purpose of accessing various user data in the Info.plist file #Xcode8 #iOS10

This is a memorandum.
When I applied for an iOS app update, I received an email informing me that the build would be invalidated for the following reasons.

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data.

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

It is necessary to add "key" and "purpose of use" to the Info.plist file.

Apparently it's used by AdMob.

Therefore, I added the following description.

<key>NSCalendarsUsageDescription</key><string> Advertisement would like to create a calendar event.</string><key> NSCameraUsageDescription</key><string> Advertisement would like to use camera.</string><key> NSBluetoothPeripheralUsageDescription</key><string> Advertisement would like to use bluetooth.</string>

It seems that it also uses Bluetooth, so I wrote that down just in case.

When I wrote the above description, the examination passed successfully.

[Reference]: [iOS 10] It seems necessary to describe the purpose of accessing various user data | Developers.IO

  • Add this entry to Hatena Bookmarks

At "naouniverse.com", the administrator writes about things, things, and the world that interest him.
Gadgets, cameras, design, programming, L'Arc~en~Ciel, etc...