What does say your build wrapper command ? Is the build successfull ?
Build not successfully installed It say command not found
Start by being able to display this message from the build wrapper (means that the init, call without argument went fine)
./build-wrapper-macos-x86/build-wrapper-macos-x86
build-wrapper, version 6.14 (macos-x86)
Copyright © 2014-2020 SonarSource SA, info@sonarsource.com
Once you’ve suceeded doing that, try to add your arguments one by one, and it should be ok.
my build wrapper version is 6.13
WKMIN1804460:build-wrapper-macosx-x86 sacdumal$ ./build-wrapper-macosx-x86 --version
build-wrapper, version 6.13 (macosx-x86)
Copyright © 2014-2020 SonarSource SA, info@sonarsource.com
and when I execute sonar-scanner command at project directory it show following error
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 10.160s
INFO: Final Memory: 22M/77M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: java.nio.file.NoSuchFileException: /Users/sacdumal/Downloads/LA_AL_Old_FLow_AL_10SEC_ISG_OTPTimer_OfferFlow/bw_output/build-wrapper-dump.json
That’s a good start. Now try to execute this same --version commandline from where your xcodeproj is, you should have the same message.
Then try to execute your initial commandline to build your project. If the output dir is not created, try to create it before executing the build (but normally it should be created automatically).
I execute the same command at xcodeproj directory but it show following error
WKMIN1804460:LA_AL_Old_FLow_AL_10SEC_ISG_OTPTimer_OfferFlow sacdumal$ ./build-wrapper-macosx-x86 --version
-bash: ./build-wrapper-macosx-x86: No such file or directory
when I execute sonar-scanner command at project directory it show following error
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 10.160s
INFO: Final Memory: 22M/77M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: java.nio.file.NoSuchFileException: /Users/sacdumal/Downloads/LA_AL_Old_FLow_AL_10SEC_ISG_OTPTimer_OfferFlow/bw_output/build-wrapper-dump.json
I think this is because your build wrapper was not correctly executed. Do you have any log of it to share as well ?
I downloaded the build wrapper from your site using above url
can you please ell me the step to how to install build wrapper
It’s just a zip that you have to unzip, no install needed, you just have then to execute the executable file, like you did to get the version.
I downloaded the build wrapper from localhost and unzip in download
but it showing error when I execute above command
build-wrapper-macosx-x86 --out-dir build_wrapper_output_directory xcodebuild clean build
My current project present on following path
/Users/sacdumal/Downloads/LA_AL_Old_FLow_AL_10SEC_ISG_OTPTimer_OfferFlow
and my build wrapper present at following path
/Users/sacdumal/Downloads/build-wrapper-macosx-x86
so how can I execute above command
build-wrapper-macosx-x86/build-wrapper-macos-x86 --out-dir xcodebuild -project myproject.xcodeproj -configuration Release clean build
can you please tell me full command that I execute on terminal
Can you please help me to solve above issue?
cd /Users/sacdumal/Downloads/LA_AL_Old_FLow_AL_10SEC_ISG_OTPTimer_OfferFlow
./Users/sacdumal/Downloads/build-wrapper-macosx-x86/build-wrapper-macos-x86 --out-dir xcodebuild -project myproject.xcodeproj -configuration Release clean build
And check that xcodebuild dir inside “/Users/sacdumal/Downloads/LA_AL_Old_FLow_AL_10SEC_ISG_OTPTimer_OfferFlow” contains a json file.
Does that work that way ?
You have to add another level in the relative path, your build wrapper is on ". …/build-wrapper-macosx-x86/build-wrapper-macosx-x86 --version
No there is no json file present at project directory
It already present in Downloads relative path shown above
/Users/sacdumal/Downloads/build-wrapper-macosx-x86
Can you test this one that i gave you above please ?
Thank you.