Bundling UNIX apps inside Cocoa app?
Bundling UNIX apps inside Cocoa app?
- Subject: Bundling UNIX apps inside Cocoa app?
- From: <email@hidden>
- Date: Mon, 21 Feb 2005 7:18:41 +0000
Greetings again to you all. I am wondering how you go about including specific unix apps into the Contents/Resources folder. I have a set of UNIX apps that I'll be wrapping in a project. I can do that, I'm not worried about it. But I don't want the user to have to install anything.
The functionality is similar to the application xAct which allows you to encode and decode FLAC, SHN, APE music files to AIFF or WAV format. I use xAct myself, and I examined the Package contents, and they have in the Contents/Resources directory another directory called Binaries which contains all the unix apps. Now I know how to get to the apps using NSBundle methods. But I've inspected the entire xAct source code in XCode, and could find nothing whatsoever in any of the build phases for the target, the project inspector, nothing shows me how they created the directory and stored the files there.
It's obvious it's done at compile time, but I can't see how they did it. The developers have no website or contact info of any kind, or I'd simply ask them.
So my question is, how/where do I set it so that it includes my UNIX apps in the Contents/Resources directory of my package? Thanks in advance. I have searched the archives, didn't come up with anything really relevant. I'll keep looking as well.
James
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden