Compatible with ios10 (build version not found in iTunes) and ios10itunes
Two days ago, the App encountered a magical problem. The packaged project was successfully uploaded using Application Loader, but the build version was not found in iTunes, and the App's activity page did not have a corresponding version.
Previously, I learned about IOS10's enhancement to user security and privacy. I need to add a description when applying for many private permissions. However, I did not report an error when using Xcode 8 to compile the original project. I also did a test on the IOS10 real machine and did not report an error. So I did not add a description of the project permission, and then packed and uploaded the files.
Solution:
Add the permission description in info. plist as follows:
1. <! -- Album -->
1. <key> NSPhotoLibraryUsageDescription </key>
1. <string> the App requires your consent to access the album </string>
2. <! -- Camera -->
2. <key> NSCameraUsageDescription </key>
2. <string> the App requires your consent to access the camera </string>
3. <! -- Microphone -->
3. <key> NSMicrophoneUsageDescription </key>
3. <string> the App requires your consent to access the microphone </string>
4. <! -- Location -->
4. <key> NSLocationUsageDescription </key>
4. <string> the App can be accessed only with your consent </string>
5. <! -- Access location during use -->
5. <key> NSLocationWhenInUseUsageDescription </key>
5. <string> the App can be accessed during use only with your consent </string>
6. <! -- Always access location -->
6. <key> NSLocationAlwaysUsageDescription </key>
6. <string> the App must have your consent before it can be accessed permanently </string>
7. <! -- Calendar -->
7. <key> NSCalendarsUsageDescription </key>
7. <string> the App requires your consent to access the calendar </string>
8. <! -- Reminder -->
8. <key> NSRemindersUsageDescription </key>
8. <string> the App requires your consent to access the reminder </string>
9. <! -- Sports and fitness -->
9. <key> NSMotionUsageDescription </key> <string> the App requires your consent to access sports and fitness </string>
10. <! -- Health update -->
10. <key> NSHealthUpdateUsageDescription </key>
10. <string> the App requires your consent to access health update </string>
11. <! -- Health sharing -->
11. <key> nshealthpolicusagedescription </key>
11. <string> the App requires your consent to access health sharing </string>
12. <! -- Bluetooth -->
12. <key> nsbluw.thperipheralusagedescription </key>
12. <string> the App requires your consent to access Bluetooth </string>
13. <! -- Media database -->
13. <key> NSAppleMusicUsageDescription </key>
13. <string> the App requires your consent to access the media repository </string>