Ios-app Audit guideline 2.5.1 was rejected, using the private API

Source: Internet
Author: User

The recent iOS audit was rejected, saying it was using a private API:com.apple.springboard.lockcomplete

The specific contents are as follows:

Sender Apple2.5Performance:software Requirementsguideline2.5.1-Performance-software Requirementsyour app uses or references the following non- PublicAPIs:com.apple.springboard.lockcompleteThe Use of non- PublicAPIs isNot permitted on the App Store because it can leads to a poor user experience should these APIs change. Continuing to use or conceal non- PublicAPIsinchFuture submissions of ThisApp may resultinchThe termination of your Apple Developer account, asWell asRemoval of all associated apps fromThe App store.next stepsifusingThird-party libraries, please update the most recent version of those libraries. If You DoNot having access to the libraries'source, able to search for the compiled binary using the "strings" or "otool" command line tools. The "strings" tool can output a list of the methods that the library calls and "Otool-ov" would output the objective-c CLA SS structures and their defined methods. These tools can help you narrow down where the problematic code resides. You could also with the "NM" tool to verify if any third-party libraries is calling these APIs.resourcesfor Information on the"nm"Tool, please review the"NM Tool"Xcode manual page. If There is no alternatives forProviding the functionality your app requires, you can file an enhancement request.

Workaround:

If you are unsure which third party is using the

1 . CD to Project root directory 2 ' Com.apple.springboard.lockcomplete ' * He'll retrieve it and use it.

Results:

macdemacbook-pro:~ mac$ cd/users/mac/desktop/xingchangtongtrunk macdemacbook'  Com.apple.springboard.lockcomplete' *Binary file Xingchangtong/xingchangtong/ Thirdparty/huajiao_ios_sdk_v4. 2.4/QHIVIDEOSDK.FRAMEWORK/QHIVIDEOSDK matches

The last discovery is the sdk:qhivideosdk of the pepper, called the system's private API, if not used in the project, recommended to delete try

Ios-app Audit Guideline 2.5.1 rejected, using a private API

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.