I'm using a command line took to perform tasks within my app. I want to package it inside the application bundle. The task of compiling and adding it to the bundle doesn't look like a problem.
The question is, how should it be used subsequently by the application?
Should I run it right within a bundle (by getting bundle path and appending path within it)? I've read apple recommends copying it to "Library/Application Support" before using on the first launch. But it is unclear if I should use global Libraries or user Libraries directory and how should I tackle permissions if the global one is used. Having personal copy of utility in every users library doesn't seem like a good solution to me.
Are there any apple guides that clarify this question? It looks like a rather common use-case to me.
The question is, how should it be used subsequently by the application?
Should I run it right within a bundle (by getting bundle path and appending path within it)? I've read apple recommends copying it to "Library/Application Support" before using on the first launch. But it is unclear if I should use global Libraries or user Libraries directory and how should I tackle permissions if the global one is used. Having personal copy of utility in every users library doesn't seem like a good solution to me.
Are there any apple guides that clarify this question? It looks like a rather common use-case to me.