I’m having an issue submitting the new version of Nova Vue.
I’ve added a new tree-sitter based syntax and everything works pretty much ok, except some language injections but this will be for another issue. The main problem I’m facing right now is that if I try to submit the extension to the library I get this error:
Do you happen to know what C compiler toolchain you were using to compile? The example scripts from our documentation just invoke Make with the default C compiler that’s available in your shell path, IIRC.
By default, Apple’s toolchain distributed with Xcode signs built libraries automatically using a simple signing method (ad-hoc signing), which should be accepted by the submission process. However, if you’re using a different compiler toolchain (such as GCC or a Clang toolchain built from source) it might not work this way.
To be honest I’m not really sure to know how to find the answer to your question. I’ve simply used the makefile you provided in the docs with no extra configurations on my side.
I can tell you that I have Xcode installed on my machine as well as gcc and clang. It’s possible that one of those have been used as the default. I kwon it’s not exactly related to Nova but can you tell me how can I eventually switch to the Xcode toolchain? I’ve tried looking online but I might be missing the right search keywords since I’ve not found any relevant result.
Yep! I’m by no means versed in all of this, I mostly stumble my way through it. But I’ll definitely try.
You might invoke cc --version on the command line, and that should tell you what compiler is being used by our makefile. If it prints something like “Apple clang”, then you’re already using Xcode’s toolchain.
If it doesn’t, the printed output might list the actual location of the toolchain, or you might be able to see by invoking which cc. If it does end up that GCC is being used by default, its containing directory might be ahead of /usr/bin in your shell PATH, so you might need to manually specify the compiler toolchain when invoking the Makefile, and I think that’d be something like so:
Hi @logan
So I received a similar error when I was submitting the extension. I followed the instruction by @gareth which solved the issue however now I am receiving this error message not sure what it even means…