iOS - APP審核Guideline 2.5.1被拒,使用了私人API

來源:互聯網
上載者:User

標籤:res   exp   app store   UI   col   fine   mina   eth   解決方案   

最近iOS 審核被拒,說是使用了私人API:com.apple.springboard.lockcomplete

具體內容如下:

寄件者 Apple2. 5 Performance: Software RequirementsGuideline 2.5.1 - Performance - Software RequirementsYour app uses or references the following non-public APIs:com.apple.springboard.lockcompleteThe use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change. Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.Next StepsIf you are using third-party libraries, please update to the most recent version of those libraries. If you do not have access to the libraries‘ source, you may be able to search 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" will output the Objective-C class structures and their defined methods. These tools can help you narrow down where the problematic code resides. You could also use the "nm" tool to verify if any third-party libraries are calling these APIs.ResourcesFor information on the "nm" tool, please review the "nm tool" Xcode manual page.If there are no alternatives for providing the functionality your app requires, you can file an enhancement request.

 

解決方案:

如果不確定是哪個第三方使用了

1. cd 到項目根目錄2. grep -R ‘com.apple.springboard.lockcomplete‘ *他會檢索出來,哪使用了

 

結果:

macdeMacBook-Pro:~ mac$ cd /Users/mac/Desktop/XingChangTongTrunk macdeMacBook-Pro:XingChangTongTrunk mac$ grep -R ‘com.apple.springboard.lockcomplete‘ *Binary file XingChangTong/XingChangTong/ThirdParty/huajiao_ios_sdk_v4.2.4/QHIVideoSDK.framework/QHIVideoSDK matches

最後發現是花椒的SDK:QHIVideoSDK,調用了系統的私人API,如果項目中沒有使用到,建議刪除試試

iOS - APP審核Guideline 2.5.1被拒,使用了私人API

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.