Game Development Community

Creating a Mac OSX bundle?

by Joshua "RegularX" Birk · in Torque Game Builder · 04/16/2005 (11:07 am) · 9 replies

In general, does anyone have good links on how to make an app into a "bundle" ?

#1
04/16/2005 (11:37 am)
So am I just confused an XCode has been creating a bundle all along?
#2
04/16/2005 (11:41 am)
I'm a noob with building Mac stuff also, but from my messing-around, yes, it creates the .app structure for you. So, you just dump your main.cs and whatever else into the dir with T2D.app and it works (I think ;) )

Mike
#3
04/16/2005 (11:43 am)
Ok, so Torque makes a T2D.app, but then I've also seen something like appname.bundle - how do I get XCode to compile into a *.bundle instead a *.app?
#4
04/16/2005 (12:08 pm)
I'm pretty sure .apps are just double-clickable .bundles. Bundles (I think, but correct me if I'm wrong) are used mainly for things like plugins and such.

Is there a particular reason you want a .bundle?
#5
04/16/2005 (1:05 pm)
BTW What is Xcode?
#6
04/16/2005 (1:56 pm)
Not sure what is a .bundle is, but OSX .apps as built by Xcode are application bundles themselves. They contain the OS-specific binary version, plus frameworks or data or whatever.

You can right-click on the TGE Demo app and browse around inside of it using "show package contents". (It's just a directory if you view it from the terminal.)
#7
04/16/2005 (6:10 pm)
@Chris: Just trying to compile a iTunes visualizer, getting used to XCode, etc.

@Randy: Apple's IDE that comes with Mac OSX

@David & Chris: Yeah, it seems that the difference between a .app and a .bundle is mostly the fact that the packaged executable is self-sufficient.

You can set it up in XCode when you declare your target it turns out.
#8
04/16/2005 (6:56 pm)
@Josh - Haven't tried anything like an iTunes visualizer yet - sounds interesting. Have you worked much with Cocoa yet?
#9
04/21/2005 (7:15 pm)
Nothing with Cocoa really yet. T2D is dragging me back into C++ :)