-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command PhaseScriptExecution failed with a nonzero exit code #12
Comments
This appears to be related to this - > catchorg/Catch2#2411 Seems that the easiest thing that can be done currently (at least while developing) is to just remove the |
Interesting, haven't run into this... I use CLion (as it provides a consistent interface on macOS/Windows, can use clang-format and is a nicer experience overall). Not sure what to suggest outside of waiting for the Catch/CMake team to respond... |
It seems weird that CLion would do something different with executable signing than Xcode. Or are you not building on an Apple Silicon CPU? If you are, it’d be good to know what specifically in CLion’s build process is different. In the mean time, the work-around suggested in the Catch2 thread seems to work well. I added this to my
Where
Replace And if you don’t want to mess with your cmake file, you could always just manually sign from the command line with something like:
and then run |
I am getting the error below when building Tests. I saw the same thing when compiling Catch2 v3 tests for a simple Hello World program on the same system (macOS 12.5, Xcode 13.4.1) and wondered how you had solved it. This does not happen on an older system (intel process, macOS 11.x).
The text was updated successfully, but these errors were encountered: