The Elements compiler requires a Mac with the latest Xcode to be installed for Cocoa development.
An intelligent IDE for iOS/macOS development focused on code quality, efficient code navigation, smart code completion, on-the-fly code analysis with quick-fixes and superior code refactorings. Xcode is a development tool, developed by Apple for developing software for Mac operating system, such as, iOS devices, watchOS and as well as tvOS. Xcode is very popular since the first release. However, with the latest version of Xcode every tool is easier and more efficient while working on any project. All downloads are hosted by Apple. Links on this site take you directly to Appleās download pages. This is not an official Apple website. Please consider donating to help maintain it.
Once Xcode is installed, and you have connected to your Mac, EBuild will handle the rest.
If you have multiple versions of Xcode installed on your Mac and want Elements to use a specific version (of if the one version of Xcode you have installed is for some reason not detected by default), you can explicitly select a version of Xcode from the 'Command Line Tools' dropdown in the Xcode Preferences window:
Alternatively, you can run
in Terminal to switch the selected version of Xcode (where you'd replace /path/to/Xcode.app
with the actual path to the version of Xcode you want to use).
You can also use
in Terminal to find out what version of Xcode is currently selected. CrossBox uses this command line internally, so you can be assured that whatever the output is, it is what CrossBox will see, as well.
Please note that in order for things to work out of the box, the version of Xcode you install needs to contain SDK versions supported/known by Elements in form of a folder with .fx files.
In most cases, Elements and CrossBox will automatically determine the highest version of the SDK supported by both Elements and the version of Xcode you have installed.
Any version of Elements will come with pre-built .fx files for the latest SDKs that were released at the time that version of Elements shipped, as well as support for some older SDKs. Please refer to the .fx Files topic for more details.
Elements will automatically download newer (or older) SDK versions form our website as needed, on first build. You can also downlaod SDK support manually from elementscompiler.com/elements/sdks and, if needed, you can also manually import SDKs from an Xcode version; please refer to the Importing new SDKs topic for more details on this.
Get the latest beta and older versions of Xcode. To view downloads, simply sign in with your Apple ID. Apple Developer Program membership is not required.
Beta Versions of Xcode
Command Line Tools & Older Versions of Xcode
See the latest advances in Xcode presented at WWDC and other events.
Get step-by-step guidance on how to use Xcode to build, test, and submit apps to the App Store.
Xcode Help Guide
Xcode Support Page
Browse the latest documentation including API reference, articles, and sample code.
Ask questions and discuss development topics with Apple engineers and other developers.