Xcode CLI tools and PB dependency
Posted: Thu Sep 21, 2023 4:04 am
I'm trying to troubleshoot an issue where my Mac (Intel, MacOS Ventura 13.5.2) running PB (x64, 6.02 LTS) produces executables that crash whenever I try launching them.
I have one application I was working on that I still have a compiled .app file (graphical). It launches and seems to work. I renamed it, then told PB to compile the same project and it compiled to a new .app file. Running that causes a "quit unexpectedly" dialog to pop up with an EXC_BAD_ACCESS (SIGBUS) exception. Double click the same file but compiled a couple days ago? Launched, no problem.
The other set of applications are command line based, but I didn't have a previously compiled executable. Told PB to compile all targets, they compiled fine. Changed the directory and ran one. "zsh: bus error".
The only thing that I can think of that recently changed was an update to the Xcode (version 15.0) command line tools (15.0). Does PureBasic have a dependency on the command line tools in the build process that could cause these crashes? I can't even attempt to use the "run" menu to test the applications, as that triggers an exception with PureBasic.0.
I would post to the bugs section if I could verify that's the cause, or even what information would help in troubleshooting, but honestly I'm a little lost on what to do to narrow this down if it isn't the CLI tools update causing this...
I have one application I was working on that I still have a compiled .app file (graphical). It launches and seems to work. I renamed it, then told PB to compile the same project and it compiled to a new .app file. Running that causes a "quit unexpectedly" dialog to pop up with an EXC_BAD_ACCESS (SIGBUS) exception. Double click the same file but compiled a couple days ago? Launched, no problem.
The other set of applications are command line based, but I didn't have a previously compiled executable. Told PB to compile all targets, they compiled fine. Changed the directory and ran one. "zsh: bus error".
The only thing that I can think of that recently changed was an update to the Xcode (version 15.0) command line tools (15.0). Does PureBasic have a dependency on the command line tools in the build process that could cause these crashes? I can't even attempt to use the "run" menu to test the applications, as that triggers an exception with PureBasic.0.
I would post to the bugs section if I could verify that's the cause, or even what information would help in troubleshooting, but honestly I'm a little lost on what to do to narrow this down if it isn't the CLI tools update causing this...