Ios,xcode 8.0 Build version failure problem,

Source: Internet
Author: User

Xcode upgrade to 8.0, the first time to commit the version update, encountered a lot of pits. I have already submitted many versions, and it is pro to submit a version. However, this time I submitted a version that kept me waiting for a long time. This is done with Xcode, but it has been waiting for a long time to be refreshed on itunes Connect. Later, a version was resubmitted, or it could not be refreshed. Because the bound mailbox is not my custody, so I did not look at the mailbox. This just reminds me to see the mailbox. The contents of the mailbox are as follows:

Dear Developer,

We have the discovered one or more issues with your recent delivery for "Barter Cargo owner Edition". To process your delivery, the following issues must is corrected:

This app attempts to access privacy-sensitive data without a usage description.The app ' s info.plist must contain an nsphotolibraryusagedescription Key With a string value explaining to the user how the app uses this data.

Though you aren't required to fix the following issues, we wanted to make you aware of them:

Missing Push Notification entitlement-your app includes an API for Apple ' sPush Notification Service, but the aps-environment entitlement was missing from the app ' s signature. To resolve this, make sure your App ID was enabled for push notification in the Provisioning Portal. Then, sign your app with a distribution provisioning profiles that includes the aps-environment entitlement.This would create the correct signature, and you can resubmit your app. See "Provisioning and development" in the Local and Push Notification Programming Guide for more information. If your app does not with the Apple Push Notification Service, no action is required.You could remove the API from the future submissions to stop this warning.If you use a third-party framework, the need-to-contact the developer-information on removing the API.

Once the required corrections has been made, you can then redeliver the corrected binary.

Regards,

The APP Store Team

There are two problems: one is to add nsphotolibraryusagedescriptionto the info.plist file, which is why the app Access user album is not described. IOS 10 is more user-focused, so every time you use a feature that involves user privacy, you'll need to explain it in the Info.plist file. For example: Camera, positioning, multimedia, microphones, Bluetooth, etc., according to the actual situation to do the corresponding treatment.

The second problem is the push issue, I did a push before, just the test, this version does not add a formal push, so what I'm going to do is you will remove the API from the next submissions to stop this warning. The push API I do to remove, at first do not know how to remove the Push API, check a lot of information, many foreign documents or forums, oneself also made not much clear, as if to say not to care about it. But I still call the code to push the block, the result is unexpectedly good.

Then resubmit it and refresh it in about 20 minutes. It has the version I submitted earlier, but it is invalid, and the last commit is valid.

Ios,xcode 8.0 Build version failure problem,

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.