Skip to content

Instantly share code, notes, and snippets.

@cyupa
Last active August 29, 2015 14:07
Show Gist options
  • Save cyupa/4bedd7dfb62edf8b8349 to your computer and use it in GitHub Desktop.
Save cyupa/4bedd7dfb62edf8b8349 to your computer and use it in GitHub Desktop.
Sonar XCode project configuration
##########################
# Required configuration #
##########################
sonar.projectKey=<Your project key>
sonar.projectName=<Your project name>
sonar.projectVersion=<Your project version>
sonar.language=objc
# Project description
sonar.projectDescription=<Your project description>
# Path to source directories (application code, not third-party code)
sonar.sources=<Your project sources directory>
# Xcode project configuration
sonar.objectivec.workspace=Doozy.xcworkspace
sonar.objectivec.projects=Doozy.xcodeproj
sonar.objectivec.appScheme=Hyntly
sonar.objectivec.testScheme=Hyntly
##########################
# Optional configuration #
##########################
# Encoding of the source code
sonar.sourceEncoding=UTF-8
# JUnit report generated by run-sonar.sh is stored in sonar-reports/TEST-report.xml
# Change it only if you generate the file on your own
# The XML files have to be prefixed by TEST- otherwise they are not processed
sonar.junit.reportsPath=sonar-reports/
# Paths to exclude from coverage report (tests, 3rd party libraries etc.)
# sonar.objectivec.excludedPathsFromCoverage=pattern1,pattern2
sonar.objectivec.excludedPathsFromCoverage=.*Tests.*,.*Pods*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment