dyld`__abort_with_payload: iOS10 crash
In iOS10 there are more privacy rules than before. Use libraries like CMPedometer, MPMusicPlayerController, etc.. produce the error dyld`__abort_with_payload: when you run the app in the iOS10 device.
That’s happen because you need to update your Info.plist file with the right key/value rule (do you remember the GPS always/when in use authorization?). Below the list:
<!-- 🖼 Photo Library --> <key>NSPhotoLibraryUsageDescription</key> <string><Your description goes here></string> <!-- 📷 Camera --> <key>NSCameraUsageDescription</key> <string><Your description goes here></string> <!-- 🎤 Microphone --> <key>NSMicrophoneUsageDescription</key> <string><Your description goes here></string> <!-- 📍 Location When In Use --> <key>NSLocationWhenInUseUsageDescription</key> <string><Your description goes here></string> <!-- 📍 Location Always --> <key>NSLocationAlwaysUsageDescription</key> <string><Your description goes here></string> <!-- 📆 Calendars --> <key>NSCalendarsUsageDescription</key> <string><Your description goes here></string> <!-- ⏰ Reminders --> <key>NSRemindersUsageDescription</key> <string><Your description goes here></string> <!-- 🏊 Motion --> <key>NSMotionUsageDescription</key> <string><Your description goes here></string> <!-- 💊 Health Update --> <key>NSHealthUpdateUsageDescription</key> <string><Your description goes here></string> <!-- 💊 Health Share --> <key>NSHealthShareUsageDescription</key> <string><Your description goes here></string> <!-- ᛒ🔵 Bluetooth Peripheral --> <key>NSBluetoothPeripheralUsageDescription</key> <string><Your description goes here></string> <!-- 🎵 Media Library --> <key>NSAppleMusicUsageDescription</key> <string><Your description goes here></string>
Don’t forget to localize every description in the others localized Info.plist files.
One more: If there is the message “dyld: Library not loaded:..” in the console this means that you need to put your custom external frameworks inside the Embedded Binaries section located in the Xcode project under the tab Target/General.

















