2014-01-29 66 views
1

因爲昨天我試圖使OCLint與我的iOS項目一起工作。OCLint和xcode項目

我到目前爲止所做的是遵循這些instructions安裝OCLint,然後我已經按照這些other instructions在Xcode中使用它。問題是,當我嘗試構建OCLint聚合目標時,構建過程永遠不會結束(我在停止之前等待了30分鐘)。有人遇到同樣的問題嗎?我使用的OCLint版本oclint-0.9.dev.3f9355e

回答

2

試試這

終端
xctool -workspace xx.xcworkspace -scheme xx -reporter json-compilation-database:compile_commands.json clean 

xctool -workspace xx.xcworkspace -scheme xx -reporter json-compilation-database:compile_commands.json build 

oclint-json-compilation-database