Merci @rmaddy, j'ai ajouté ceci juste après d'autres paires clé-chaîne dans Info.plist et corrigé le problème:
<key>NSPhotoLibraryUsageDescription</key>
<string>Photo Library Access Warning</string>
Éditer:
J'ai également rencontré des problèmes similaires sur différents composants de mon application. J'ai fini par ajouter toutes ces clés jusqu'à présent (après la mise à jour vers Xcode8 / iOS10):
<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires access to the photo library.</string>
<key>NSMicrophoneUsageDescription</key>
<string>This app does not require access to the microphone.</string>
<key>NSCameraUsageDescription</key>
<string>This app requires access to the camera.</string>
Consultez ce lien developer.apple.com pour obtenir la liste complète des références clés de la liste de propriétés.
Liste complète:
Musique Apple:
<key>NSAppleMusicUsageDescription</key>
<string>My description about why I need this capability</string>
Bluetooth:
<key>NSBluetoothPeripheralUsageDescription</key>
<string>My description about why I need this capability</string>
Calendrier:
<key>NSCalendarsUsageDescription</key>
<string>My description about why I need this capability</string>
Caméra:
<key>NSCameraUsageDescription</key>
<string>My description about why I need this capability</string>
Contacts:
<key>NSContactsUsageDescription</key>
<string>My description about why I need this capability</string>
FaceID:
<key>NSFaceIDUsageDescription</key>
<string>My description about why I need this capability</string>
Part de la santé:
<key>NSHealthShareUsageDescription</key>
<string>My description about why I need this capability</string>
Mise à jour sur la santé:
<key>NSHealthUpdateUsageDescription</key>
<string>My description about why I need this capability</string>
Kit maison:
<key>NSHomeKitUsageDescription</key>
<string>My description about why I need this capability</string>
Emplacement:
<key>NSLocationUsageDescription</key>
<string>My description about why I need this capability</string>
Emplacement (toujours):
<key>NSLocationAlwaysUsageDescription</key>
<string>My description about why I need this capability</string>
Emplacement (lors de l'utilisation):
<key>NSLocationWhenInUseUsageDescription</key>
<string>My description about why I need this capability</string>
Microphone:
<key>NSMicrophoneUsageDescription</key>
<string>My description about why I need this capability</string>
Mouvement (accéléromètre):
<key>NSMotionUsageDescription</key>
<string>My description about why I need this capability</string>
NFC (Communication en champ proche):
<key>NFCReaderUsageDescription</key>
<string>My description about why I need this capability</string>
Galerie de photos:
<key>NSPhotoLibraryUsageDescription</key>
<string>My description about why I need this capability</string>
Photothèque (accès en écriture seule):
<key>NSPhotoLibraryAddUsageDescription</key>
<string>My description about why I need this capability</string>
Rappels:
<key>NSRemindersUsageDescription</key>
<string>My description about why I need this capability</string>
Siri:
<key>NSSiriUsageDescription</key>
<string>My description about why I need this capability</string>
Reconnaissance de la parole:
<key>NSSpeechRecognitionUsageDescription</key>
<string>My description about why I need this capability</string>
NSPhotoLibraryUsageDescription
et vous trouverez de nombreux exemples.