Feature #4932 2010-01-19 20:19

edb

Support for Mac OSX application bundles

Currently the Mac port of Code::Blocks (8.02) adds a call to the old Rez 
command to the post-build steps as the default action for creating OS X 
applications. This should be replaced by a generic directory structure based 
on the application's configuration. There are two parts to this enhancement 
request:

1. Creating the directory structure using mkdir / cp / mv. The structure is 
described in figure 2.3 of this apple dev page 
(http://developer.apple.com/mac/library/documentation/CoreFoundation/Co
nceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10
000123i-CH101-SW1):

<product name>.app /
   Contents /
      Info.plist
      Pkginfo (text file with "AAPL????" as the only text)
      MacOS /
         <product binary>
      Resources /
         <localized resources>

There are some other directories, but these are the main ones.

2. Customizing the Info.plist file - using the PlistBuddy utility (bundled with 
OS X 10.5, or installed with the Apple dev tools), populating the nodes 
described in tables 2-6 / 2-7 on the linked page above.
Category
Build System
Status
Open
Close date
 
Assigned to