使用xcodebuild构建iPhone代码并运行LLVM / Clang Static Analyzer [英] Building iPhone Code using xcodebuild and running LLVM/Clang Static Analyzer

查看:220
本文介绍了使用xcodebuild构建iPhone代码并运行LLVM / Clang Static Analyzer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照 用LLVM / Clang静态分析器查找内存泄漏 ,但我无法在我的项目上运行静态分析器。

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.

当我尝试在我的项目上运行 xcodebuild (1.打开终端,2.直接进入项目,3.> xcodebuild),我得到这个错误:

When I try to run xcodebuild on my project (1. Open Terminal, 2. Go to Project Directly, 3. > xcodebuild), I get this error:

=== BUILDING NATIVE TARGET XProject OF PROJECT XProject WITH THE DEFAULT
CONFIGURATION (Release) ===

Checking Dependencies... CodeSign
error: no certificate found in
keychain for code signing identity
'iPhone Developer'

\** BUILD FAILED \**

如何在我的代码上运行此工具? - 我用模拟器测试。感谢。

How can I run this tool on my code? - I'm testing with simulator. Thanks.

推荐答案

您的答案在这里:
http://www.oiledmachine.com/posts/2009/ 01/06 / using-the-llvm-clang-static-analyzer-for-iphone-apps.html

这篇关于使用xcodebuild构建iPhone代码并运行LLVM / Clang Static Analyzer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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