Unable to open include file 'CoreFoundation/CoreFoundation.h'

Abstract: When compiling a C++ FireMonkey application for OSX, users with XCode 4.x and later need to get XCode Command line tools

When compiling a C++ FireMonkey application for OSX you may get errors like the following:

[bccosx Warning] W8123 Path 'C:\Users\myhome\Documents\RAD Studio\Profiles\mac/usr/include' not found - path ignored in option '-%'
[bccosx Warning] W8123 Path 'C:\Users\myhome\Documents\RAD Studio\Profiles\mac/usr/include/os' not found - path ignored in option '-%'
[bccosx Warning] W8123 Path 'C:\Users\myhome\Documents\RAD Studio\Profiles\mac/usr/include/xpc' not found - path ignored in option '-%'
[bccosx Error] sysmac.h(59): E2209 Unable to open include file 'CoreFoundation/CoreFoundation.h'
  Full parser context
    ControlsDemo.cpp(14): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\fmx\fmx.h
    fmx.h(36): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\rtl\System.hpp
    System.hpp(18): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\rtl\sysmac.h
[bccosx Error] sysmac.h(61): E2209 Unable to open include file 'CoreServices/CoreServices.h'
  Full parser context
    ControlsDemo.cpp(14): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\fmx\fmx.h
    fmx.h(36): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\rtl\System.hpp
    System.hpp(18): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\rtl\sysmac.h
[bccosx Error] sysmac.h(63): E2209 Unable to open include file 'Carbon/Carbon.h'
  Full parser context
    ControlsDemo.cpp(14): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\fmx\fmx.h
    fmx.h(36): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\rtl\System.hpp
    System.hpp(18): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\rtl\sysmac.h
[bccosx Error] sysmac.h(67): E2209 Unable to open include file 'stdint.h'
  Full parser context
    ControlsDemo.cpp(14): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\fmx\fmx.h
    fmx.h(36): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\rtl\System.hpp
    System.hpp(18): #include c:\program files (x86)\embarcadero\rad studio\10.0\include\osx\rtl\sysmac.h
 
This problem occurs when you have XCode 4.X or later. To resolve the problem you need to download the XCode command line Tools. For more details see: docwiki.embarcadero.com/RADStudio/en/Connecting_Your_PC_to_a_Mac