Building iPhone Code using xcodebuild and running LLVM/Clang Static Analyzer

前端 未结 4 1206
抹茶落季
抹茶落季 2020-12-30 14:18

I followed the steps in Finding memory leaks with the LLVM/Clang Static Analyzer but I was unable to run static analyzer on my project.

When I try to run

4条回答
  •  暖寄归人
    2020-12-30 15:04

    It can be tricky to set the base sdk. I like this approach:

    I would have sworn that I had already set the sdk via the more traditional 'Build' tab, but hey... The 'Build' tab approach failed me (who know what I did wrong), but this worked great.

    Good luck.

    [Edit - I just visited the link posted in the Question - which repeats, but does not emphasize, what I'm claiming here.]

提交回复
热议问题