-
-
Save ryuichis/755e6297aec13c900cdf to your computer and use it in GitHub Desktop.
Script integrating OCLint into XCode. Put it in "Run script" build phase.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source ~/.bash_profile | |
cd ${SRCROOT} | |
xcodebuild clean | |
xcodebuild | xcpretty -r json-compilation-database | |
oclint-json-compilation-database -- -report-type xcode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
worked with Xcode 11.2.1