Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compiling for Mac OS X using Delphi XE2

1) I can only add Windows 64 bit as a target platform.
How do I compile for Mac OS X?

2) I want the app to scan through the files on the hard drive and copy them.

Do I need permission from Apple to do this? Some sort of license or something? If so how do I acquire it?

like image 878
Max0999 Avatar asked Nov 13 '22 00:11

Max0999


1 Answers

You can only compile Firemonkey projects for OSX.
If you start out with a VCL project, it will be linked to Windows only, because VCL is tied to the Windows API, whereas Firemonkey is cross-platform.

Start a new project:

File -> New -> FireMonkey HD Application

Right click

Right click on target platform (choose Add Platform...)

Choose OS X

And choose OS X.

Do I need permission from Apple to do this? Some sort of license or something? If so how do I acquire it?

Following the instructions here: http://docwiki.embarcadero.com/RADStudio/XE2/en/Mac_OS_X_Application_Development

like image 165
Johan Avatar answered Dec 21 '22 23:12

Johan