Hi guys,
Please I need your help to figure out why the build wrapper tool is not working as expected when running the command to build an Ios - Objective C on a Mac (Intel x86 Architecture).
The build command alone is working fine.
xcodebuild clean build -workspace PagaloTodo.xcworkspace -Scheme PagaloTodo
*** BUILD SUCCESSFUL***
Two files are created inside bw-output folder but the dump json file does not seem complete, also the command execution was too fast and that is unusual. I Attached the build wrapper logs and dump file build-wrapper-dump.json (507 Bytes) build-wrapper.log (3.8 KB)
Initially, I had used this command:
xcodebuild clean build -workspace PagaloTodo.xcworkspace -Scheme PagaloTodo
and the build is successful.
I had tried passing others configuration options as arch, sdk, BUILD_LIBRARIES_FOR_DISTRIBUTION where
also the build is successful but the build wrapper generated file is uncomplete.
looking at your build-wrapper.log it seems that you are on macOS Ventura 13.1. Unfortunately, build-wrapper currently doesn’t support macOS 13, see the related ticket: [CPP-3987] - Jira.
You can use the JSON Compilation Database instead. To generate a Compilation Database:
if you are using CMake, set the CMAKE_EXPORT_COMPILE_COMMANDS option
we recently added support for macOS Ventura: [CPP-3987] - Jira. It is going to be released in the next SonarQube version 10.2 and will be available soon on SonarCloud.