iOS otool to detect private apis [closed]

此生再无相见时 提交于 2019-12-03 04:40:41

问题


I am a first time ios developer and cannot find any documentation on private apis. So I have been searching for some type of tutorial on how to use otool. The only certain thing that I can find is that I had to download the command line tools through xcode preferences. I also keep seeing references to linking it to the .app file, but I don't know where I can find this and how to use it in tool. Any links or suggestions?


回答1:


Otool usage

Here is official documentation

Here is the question about otool usage: how to use otool

Detect private api usage

How does Apple know you are using private API?

Detecting Private APIs

Here I have a question. Why do you want to detect private apis? Usually, this question happens when you plan to send your app to AppStore. If so, probably iphone-privateapi tag isn't good fit for the question. Since, this tag is more about how to use private api (and implication that the app won't be send to Appstore)

Documentation on private API

This one is tough. There is no good documentation. Information is scattered and becoming outdate as soon as new version of iOS are released.

Look at these questions to find some interesting links:

iOS Private API Documentation

How to use iPhone SDK Private APIs

https://stackoverflow.com/questions/12734960/some-structured-information-on-ios-internals



来源:https://stackoverflow.com/questions/15074043/ios-otool-to-detect-private-apis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!