Post

Replies

Boosts

Views

Activity

NSTask-launch path not accessible
I'm trying to launch a command line app from my objective C application (sandboxed) using NSTask and I keep getting "launch path not accessible" Here is the path: [task setLaunchPath:@"/usr/local/bin/codeview"]; I have set the appropriate attributes for codeview and it is working perfectly when I use it from the command line and /usr/local/bin IS in the $PATH I know I have NSTask configured correctly because this WILL work: [task setLaunchPath:@"/usr/bin/hexdump"]; With the exception being that I'm using a command already in /usr/bin. But I can't copy codeview into /usr/bin due to SIPS. I've tried moving codeview to various other non-SIPS protected locations all to no avail. Must all NSTask commands come from /usr/bin? Where might I put codeview so that it can be launched. Today I'm going to use an older computer and disable SIPS to put my command in /usr/bin and see if that works. If it does. I will do it on my main machine.
6
0
227
Apr ’25
Trader status and app updates
Hi. I am a indie/hobby developer that has a "for purchase" app in the App store and from what I can tell from the legalese that makes me a trader. I plan to simply de-list from the EU market, because I don't want my personal information displayed, and I don't make enough money off the app to warrant setting up a LLC, or PO box etc. Will customers in the EU who have ALREADY purchased my app prior to de-listing still receive any updates I make to the App or are they gonna be SOL?
1
0
553
Jun ’24
NSTask-launch path not accessible
I'm trying to launch a command line app from my objective C application (sandboxed) using NSTask and I keep getting "launch path not accessible" Here is the path: [task setLaunchPath:@"/usr/local/bin/codeview"]; I have set the appropriate attributes for codeview and it is working perfectly when I use it from the command line and /usr/local/bin IS in the $PATH I know I have NSTask configured correctly because this WILL work: [task setLaunchPath:@"/usr/bin/hexdump"]; With the exception being that I'm using a command already in /usr/bin. But I can't copy codeview into /usr/bin due to SIPS. I've tried moving codeview to various other non-SIPS protected locations all to no avail. Must all NSTask commands come from /usr/bin? Where might I put codeview so that it can be launched. Today I'm going to use an older computer and disable SIPS to put my command in /usr/bin and see if that works. If it does. I will do it on my main machine.
Replies
6
Boosts
0
Views
227
Activity
Apr ’25
Trader status and app updates
Hi. I am a indie/hobby developer that has a "for purchase" app in the App store and from what I can tell from the legalese that makes me a trader. I plan to simply de-list from the EU market, because I don't want my personal information displayed, and I don't make enough money off the app to warrant setting up a LLC, or PO box etc. Will customers in the EU who have ALREADY purchased my app prior to de-listing still receive any updates I make to the App or are they gonna be SOL?
Replies
1
Boosts
0
Views
553
Activity
Jun ’24