Hi,
When I use build wrapper to get sonar analysis, it fails the normally succeeding build command with failures like this:
The following build commands failed:
CompileAssetCatalog $BUNDLE_PATH $XCASSETS_PATH
ProcessInfoPlistFile $INFO_PLIST_PATH $INFO_PLIST_PATH
CodeSign $BUNDLE_PATH
CompileXIB $XIB_PATH
CompileStoryboard $STORYBOARD_PATH
CompileAssetCatalog $XCASSETS_PATH
ProcessInfoPlistFile $INFO_PLIST_PATH $INFO_PLIST_PATH
(7 failures)
I removed actual paths for confidentiality.
I saw this JIRA issue: https://jira.sonarsource.com/browse/CPP-2056
However, redownloading build wrapper from sonarcloud.io and updating sonar-scanner using homebrew didn’t help. I still get same errors.
../../sonar/build-wrapper-macosx-x86/build-wrapper-macosx-x86 --version
build-wrapper, version 5.0 (macosx-x86)
Copyright (C) 2014-2017 SonarSource SA, info@sonarsource.com
Usage: ../../sonar/build-wrapper-macosx-x86/build-wrapper-macosx-x86 --out-dir <output directory> <build command>
sonar-scanner --version
INFO: Scanner configuration file: /usr/local/Cellar/sonar-scanner/4.0.0.1744/libexec/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarQube Scanner 4.0.0.1744
INFO: Java 12.0.1 Oracle Corporation (64-bit)
INFO: Mac OS X 10.14.5 x86_64
Xcode version: 10.2.1
macOS version: 10.14.5