This example demonstrates how to analyze an Objective-C project with the SonarQube Scanner.
- SonarQube 7.9+
- SonarQube Scanner 4.5+
- SonarSource Objective-C Plugin 6.5+
- Build the project with SonarSource Build Wrapper:
mkdir DerivedData
build-wrapper-macosx-x86 --out-dir DerivedData/compilation-database \
xcodebuild \
-scheme Example \
-derivedDataPath DerivedData \
clean test
- Analyze the project with SonarQube using the SonarQube Scanner:
sonar-scanner