Compatible with ios10 (build version not found in iTunes) and ios10itunes

Source: Internet
Author: User

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>

 



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.