Max0999
Max0999

Reputation: 354

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?

Upvotes: 5

Views: 1241

Answers (1)

Johan
Johan

Reputation: 76537

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

Upvotes: 1

Related Questions