I have been trying to implement SonarQube to implement in my Swift project. So far we have:
- Sonarqube is up and running, checked on localhost too.
- Sonar-project.properties seems to be fine, I have verified multiple times.
When I am running ./run-sonar-swift.sh -v, I get error which is tough to understand.
Running run-sonar-swift.sh... Project count is  xcodebuild: error: 'SonarDemo.xcodeproj \' does not exist. 2020-08-10 13:46:45.491 defaults[43534:12327781] The domain/default pair of (, CFBundleShortVersionString) does not exist Xcode project file is: SonarDemo.xcodeproj \ Xcode workspace file is: SonarDemo.xcworkspace\ Xcode application scheme is: SonarDemo\ Number version from plist is: Destination simulator is: platform=iOS Simulator,name=iPhone 8,OS=12.4\ Excluded paths from coverage are: .*Tests.*\ Creating directory sonar-reports/ Building & extracting Xcode project information + xcodebuild clean build-for-testing -workspace 'SonarDemo.xcworkspace\' -scheme 'SonarDemo\' -destination 'platform=iOS Simulator,name=iPhone 8,OS=12.4\' -destination-timeout 360 COMPILER_INDEX_STORE_ENABLE=NO xcodebuild: error: 'SonarDemo.xcworkspace\' does not exist. + returnValue=66 + set +x ERROR - Command 'xcodebuild clean build-for-testing -workspace SonarDemo.xcworkspace\ -scheme SonarDemo\ -destination platform=iOS Simulator,name=iPhone 8,OS=12.4\ -destination-timeout 360 COMPILER_INDEX_STORE_ENABLE=NO' failed with error code: 66
Any lead to solve this would be very helpful. Thanks!!