Found this tool after someone in my "Getting Started with Windows and Mac Development" course pointed it out. I haven’t had time to try it yet, but seems like it should also work for C++Builder Mac OSX projects.
Here is the information from the readme file (that is part of the download zip file):
- Delphi OSX Bundler 1.0 by Nick Cooper - http://enesce.com/delphiosx_bundler
For Delphi XE2 (16.0.4276.44006)
This tool will create a simple ZIP bundle for your Delphi OSX application. In
order for you to Deploy your application to the public, you need to have your
project in an OSX "Application Bundle". The RAD Studio IDE does not do this
for you on Windows, so that is where this tool comes it.
You simply Compile your project in "Release" configuration, then use this tool to
create an OSX Bundle, the created ZIP will extract your application bundle with
the required libraries for OSX , without the need for PAServer.
1) Extract DelphiOSX_Bundler.exe to a folder
2) In your IDE, click ‘Tools’ -> ‘Configure Tools’
3) Click ‘Add’
Title: Create OSX Bundle
Parameters: -p $PROJECT
4) Build your project then click ‘Tools’ -> ‘Create OSX Bundle’
Path to the dproj file of your OSX project (Required)
-b Build configuration to deploy (Default is "Release")
-s Silently bundle package, and no enter prompts
Path to output the bundled ZIP package
(Default is same folder as dproj)
"Project has no deployment settings"
This means your .dproj file has an empty node.
To resolve this issue, you should click ‘Project’ -> ‘Deployment’, then untick
then tick any file under Release configuration, and then SAVE your project.
This will make the IDE write your deployment settings to the .dproj file.
Thanks, Nick, for creating this little tool to help Embarcadero Delphi for Mac OSX developers.