检测专用API [英] Detecting Private APIs

查看:52
本文介绍了检测专用API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

苹果公司对私有API 的评价.如果应用程序包含 Private API ,则用户如何测试他/她的应用程序.Apple已建议用户采取什么步骤针对 Private API s测试那里的应用程序,以及导致该应用程序被拒绝的其他原因?

What Apple says about Private APIs. How can a user test his/her application if it contains Private APIs. What are the steps Apple has suggested users to test there apps for Private APIs and other reason for an app could get rejected ?

链接或教程会有所帮助.

A link or a tutorial would help.

注意:我曾经使用过 AppScanner ,但是当我上传.app文件时它崩溃了.(所以它不起作用)

note: i have used AppScanner but it crashes when i upload the .app file. (So it doesn't work)

推荐答案

最好的方法是在存档后使用Apple的validate步骤.除此之外,如果它编译时没有调用Apple API的KVC,那应该很好.值得一提的是,有许多公共库成功使用了Apple不会拒绝的某些私有API.

The best way is to use Apple's validate step after you make an archive. Other than that, if it compiles without calls to KVC for Apple APIs, it should be good. On that note, there are many public libraries that successfully use some private APIs that Apple does not reject.

这篇关于检测专用API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆