Disclaimer: Cocoa newb开发者_运维问答ie here.
I wrote an app with a Cocoa GUI that acts as a wrapper for a command line tool. The problem is the tool does not come standard with OS X. Thus, you have to install the command line tool first before using the Cocoa app, or else the app won't function.
Can anyone point me to some documentation (hopefully, with examples), that can teach me how to install the command line tool when the user installs the app?
Thank you!
Why not include your command line tool inside the bundle of your Cocoa app? This way your Cocoa app is completely self-contained and the issue of "installing" the command line tool does not even arise.
精彩评论