iOS project: Static/Dynamic code analysis and call

2019-06-27 23:21发布

问题:

I am looking for some handy code analysis tools for iOS projects, esp. to do static analysis, dynamic analysis and generate call graphs. In my investigation so far, I found

  • Dtrace as explained here and here

  • Clang as explained here

  • Doxygen as explained here

Are there any other open source tools available for my case that I miss? Also has anyone tried any of the above ones successfully for objective-c iOS projects?

Thanks

回答1:

Are you not satisfied yet with the built-in XCode analyzer (Product > Analyze)?

The primary author of LLVM project and Clang now works at Apple as the Director of Developer Tools Department. He's primarily responsible in embedding Clang to XCode.

So, I believe the analyzer within XCode already an excellent tool that you need to do analysis on your iOS project.