infer——IOS静态源码检查

  1. MAC安装infer:  brew install infer
  2. 设置环境变量指向安装infer/bin下
  3. source .bash_profile
  4. 命令  infer -- xcodebuild -workspace XXX.xcworkspace -scheme  XXX -configuration Debug -sdk iphonesimulator clean build
  5. http://fbinfer.com/docs/hello-world.html

模拟器用iOS9没问题 10报错 

 

posted @ 2016-07-01 17:03  candice_aviva  阅读(261)  评论(0编辑  收藏  举报