I have a small command-line app I've been using for years to process files. I have it run by an Automator script, so that I can drop files onto it. It stopped working this morning.
At first, I could still run the app from the command line, without Automator. But then after I recompiled the app, now I cannot even do that. When I run it, it's saying 'zsh: killed' followed by my app's path. What is that?
The app does run if I run it from Xcode. How do I fix this?
I don't think there was a crash, that I could tell. I went around and around with this on Saturday - eventually just made a brand new Xcode project and added the code into it. I found the culptrit that way. When I added the build phase step to copy the executable to the directory I wanted, it failed when the copy was run.
There's a checkbox in the copy phase that says 'code sign on copy' or something like that. When I checked that, it started working again.
I never had that checked before, or maybe the checkbox wasn't even there before, and it was fine until yesterday.