Wolfram Computation Meets Knowledge

How do I use SystemModeler with Xcode 11?

SystemModeler autodetects and uses the latest compiler on your machine. With the release of Xcode 11, SystemModeler will not detect the compiler bundled with the new Xcode version correctly and may return this error message:

...fatal error: 'errno.h' file not found

You can resolve this problem by pointing SystemModeler to a different compiler:

  1. Go to Preferences ► Global ► Compiler to configure your macOS SDK path.
  2. Change the ‘Select Compiler’ to “Custom”.
  3. Set the “Path to Mac OS X platform SDK” path to:


    The file path will be different if your Xcode.app is not in your Applications folder.

  4. Click Apply for changes to take effect.
  5. Click OK to close the Preferences window.
  6. Restart your SystemModeler and re-simulate your model to verify the error message no longer appears.
Is this article helpful?

Any comments?

Thank you for your feedback.


Contact Support

Whether you have a question about billing, activation or something more technical, we are ready to help you.

1-800-WOLFRAM (+1-217-398-0700 for international callers)

Customer Support

8am–5pm US Central Time

  • Product registration or activation
  • Pre-sales information and ordering
  • Help with installation and first launch

Advanced Technical Support (for eligible customers)

8am–5pm US Central Time

8:30–10am & 11am–5pm US Central Time

  • Priority technical support
  • Product assistance from Wolfram experts
  • Help with Wolfram Language programming
  • Advanced installation support