weex 項(xiàng)目打包審核ios被拒!使用私有API

Guideline 2.3.1 - Performance

We continue to find that your app contains hidden features.

The next submission of this app may require a longer review time.

Next Steps

  • Review the Performance section of the App Store Review Guidelines.
  • Ensure your app is compliant with all sections of the App Store Review Guidelines and the Terms & Conditions of the Apple Developer Program.
  • Once your app is fully compliant, resubmit your app for review.

Submitting apps designed to mislead or harm customers or evade the review process may result in the termination of your Apple Developer Program account. Review the Terms & Conditions of the Apple Developer Program to learn more about our policies regarding termination.

If you believe your app is compliant with the App Store Review Guidelines, you may submit an appeal. Alternatively, you may provide additional details about your app by replying directly to this message.

Guideline 2.5.1 - Performance - Software Requirements

Furthermore, we continue to find that your app uses or references the following non-public APIs:

_kIOMasterPortDefault, _IOServiceMatching, _IOServiceGetMatchingService, _IORegistryEntryCreateCFProperties, _IOObjectRelease"

The 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 Steps

If 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.

Resources

For 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.

一直被拒絕,惱火的很,可是還是得跟啥都沒發(fā)生的一樣繼續(xù)解決,繼續(xù)提交,,,,,

    決定把這次特殊的被拒記錄一下,或許可以幫到更多人!

    趕緊進(jìn)入ios工程目錄,grep -r  kIOMasterPortDefault .   “不要忘記最后的  . ”
image.png

發(fā)現(xiàn)果然是有的,可是這是weex內(nèi)部調(diào)試的一個(gè)工具,咨詢weex大神后,說要手動(dòng)去除這個(gè)包的相關(guān)引用,可是手動(dòng)多麻煩呀,直接pod里面整個(gè)文件夾干掉之,重新pod下。

    再次grep -r  kIOMasterPortDefault .       挨個(gè)檢查,發(fā)現(xiàn)沒有蘋果說的那些了,然后重新打包審核之,然后通過之!

    后來weex團(tuán)隊(duì)回復(fù)的,更新以下 weextoolkit ,重新構(gòu)建,新工程不再依賴 ATSDK,應(yīng)該徹底解決了問題了,希望大家全部過。
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容