Versions: SonarQube 7.6, Sonar-Scanner 22.214.171.1242, SonarCFamily 6.1
What are you trying to achieve: run build-wrapper-macosx-x86 and fastlane scan together, or optimize running them separately.
I am currently running build-wrapper-macosx-x86 with xcodebuild as a shell command, then the scan command.
sh("cd .. && build-wrapper-macosx-x86 --out-dir sonar-reports xcodebuild -workspace workspace.xcworkspace -scheme scheme clean build") scan( scheme: "scheme", output_directory: "./sonar-reports", code_coverage: true, workspace: "workspace.xcworkspace", skip_build: true )
However, this builds twice and takes a long time on larger projects. Ideally, fastlane will add the option to include the build-wrapper command. Until that happens, I would be happy with any recommendations to optimize the order/settings of these commands.
Is anyone else using build-wrapper-macosx-x86 with fastlane?