(02-24-2022, 04:01 PM)noobsoftware Wrote: I keep getting an error while trying to package. I'm trying to build on macOS catalina, do you think that might be to recent a version of macOS for the build process to work properly? What macOS version are you using to build? Also what SDK do you recommend using?
The official builds I build on 10.11 El Capitan. There are some issues on later versions which I am working on in the "newclang" branch, but they are not ready yet. On newer versions of MacOS I build with -O0 and SDK 10.12 since the issues occur with optimizations enabled. If you want to follow my work on the optimization crash on newer versions of Xcode look here:
https://github.com/dbsoft/UXP/issues/1
Edit: I just checked, I am using 10.11 SDK for the official builds, I'll update the build instructions.
But I am curious, the issue happens during packaging? At that point the build is done... you should be able to run it with:
Code:
./mach run
or
Code:
./mach run --debug