Intel® C++ Compiler 19.0 Developer Guide and Reference
The following topic applies to
Xcode*.
A single project can contain multiple targets. The active target determines how your project is built. This topic describes how to build the target using the Xcode* IDE and documents the build steps using the xcodebuild command line utility.
Starting with the 19.0 release of the Intel® C++ Compiler, macOS* 32-bit applications are no longer supported. If you want to compile 32-bit applications, you must use an earlier version of the compiler and you must use Xcode* 9.4 or earlier.
You can change the compilation order of the files in an Xcode* target. To re-order the files listed under a target's Compile Sources, click a source file and drag it before, or after other compilations.
You can use the xcodebuild utility to build a target. This utility uses the Xcode* project settings to build target projects from the command line. If you have previously configured your Xcode* project to build with the Intel compiler, xcodebuild invokes it from the command line.
To build from the command line:
xcodebuild -project HelloWorld.xcodeproj -target HelloWorld -configuration Debug
./build/Debug/HelloWorld
For more information, refer to the xcodebuild man page.
Before building a 64-bit executable from within Xcode*, you may need to edit the executable's target architecture. To change the Architectures setting: