(前面省略 OCLint 编译以及其他问题,有需要可以看 https://oclint.org)
参考 https://docs.oclint.org/en/stable/guide/xcodebuild.html
前期材料
- 写好的 OCLint 规则

- Demo Project
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| ➜ TestStrCopy xcodebuild -list Command line invocation: /Applications/Xcode-beta.app/Contents/Developer/usr/bin/xcodebuild -list
User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES
Information about project "TestStrCopy": Targets: TestStrCopy
Build Configurations: Debug Release
If no build configuration is specified and -scheme is not passed then "Release" is used.
Schemes: TestStrCopy
|