Error Invalid PLATFORM variable "MCD"

Alberto Rossi picture Alberto Rossi · Sep 13, 2013 · Viewed 8.4k times · Source

I've just installed Delphi XE5 since I wanna try to develop with android.

But I cannot compile anything because I always get an error message. This is the error I get while I compile:

[Error Error] Invalid PLATFORM variable "MCD". PLATFORM must be one of the following: "Win32", "Win64", "Android", "iOSSimulator", "iOSDevice", or "OSX32". If PLATFORM is defined by your system's environment, it must be overridden in the RAD Studio IDE or passed explicitly on the command line to MSBuild; e.g., /p:Platform=Win32.

Answer

Disillusioned picture Disillusioned · Sep 14, 2013

It seems to me your error message is pretty clear.
Select Tools --> Options --> Environment Variables and override the PLATFORM variable.

Have you tried this?