Upgrade or Downgrade Xcode - firedrakeproject/firedrake GitHub Wiki

If you encounter issues with the Firedrake installation due to compatibility problems with specific Xcode versions, the core Firedrake developers may recommend upgrading or downgrading your Xcode. Follow these steps to manage your Xcode versions effectively:

  1. Download and Install the Recommended Xcode Version:

    • Navigate to Xcode Releases to find and download the specific Xcode version suggested by the Firedrake developers.
    • Follow the on-screen instructions to install Xcode on your machine.
  2. Switch to the Recommended Xcode Version:

    • Open your terminal application.
    • Use the following command to set the selected Xcode version as the active one:
      sudo xcode-select --switch /path/to/downloaded/Xcode.app
      
      Replace /path/to/downloaded/Xcode.app with the actual path where you installed the downloaded Xcode version.
  3. Attempt the Firedrake Installation Again:

    • Once you have switched to the recommended Xcode version, try installing Firedrake again to see if the issue is resolved.