Workaround (Fix method):
Add in info.plist-source Code
Usagedescription related key, describe the string to fill it out, but be sure to fill in, otherwise it will cause the problem of invalid package, resulting in the build version of the upload package has not been displayed .
<!--albums--<key>NSPhotoLibraryUsageDescription</key> <string>app need your consent to access the album </string> <!--Camera--<key>NSCameraUsageDescription</key> <string>app requires your consent to access the camera </string> <!--Microphones--<key>NSMicrophoneUsageDescription</key> <string>app requires your consent to access the microphone </string> <!--location--<key>NSLocationUsageDescription</key> <string>app requires your consent in order to access the location </string> <!--access Location--<key>NSLocationWhenInUseUsageDescription</key> <string>app requires your consent to access the location during use </string> <!--always access location--<key>NSLocationAlwaysUsageDescription</key> <string>app requires your consent in order to always access the location </string> <!--calendar--<key>NSCalendarsUsageDescription</key> <string>app need your consent to access the calendar </string> <!--reminders--<key>NSRemindersUsageDescription</key> <string>app requires your consent in order to access reminders </string> <!--Sports and fitness--<key>NSMotionUsageDescription</key> <string>app need your consent in order to access sports and fitness </string> <!--Health Update-<key>NSHealthUpdateUsageDescription</key> <string>app requires your consent to access the health update </string> <!--health Sharing--<key>NSHealthShareUsageDescription</key> <string>app need your consent in order to access health sharing </string> <!--Bluetooth---<key>NSBluetoothPeripheralUsageDescription</key> <string>app need your consent to access the Bluetooth </string> <!--Media Archive--<key>NSAppleMusicUsageDescription</key> <string>app requires your consent to access the Media Library </string>
If it doesn't work, you can request background permissions, similar to this:
<key>UIBackgroundModes</key><array> <!--write here what you want to use in background mode key---<string >location</string> ... </array>
Appropriate permission settings for IOS10