Run Xcode 15 on macOS Sequoia
Problem Statement
After updating to macOS Sequoia, many developers find their existing Xcode 15 installations fail to launch. This occurs because Apple officially supports only Xcode 16 on Sequoia. When attempting to open Xcode 15, users experience one of two outcomes:
- Immediate crash at launch
- Freeze at the license agreement screen
This issue affects workflows requiring Xcode 15 for compatibility with legacy projects or build systems. Fortunately, several verified workarounds exist.
Recommended Solutions
Method 1: Launch Through Executable (Most Reliable)
This method bypasses macOS version checks by starting Xcode directly via its executable file:
- Open Finder and navigate to
Applications
- Right-click on Xcode 15 and select Show Package Contents
- Navigate to
Contents
→MacOS
- Double-click the
Xcode
executable file - Wait for commands to complete in the terminal window
- The application will launch automatically when finished
# Check active Xcode version
xcode-select -p
# Expected output:
# /Applications/Xcode-15.4.app/Contents/Developer
WARNING
First launch may take several minutes as Xcode performs system registration. Subsequent launches will be normal.
Method 2: Info.plist Version Modification
Temporarily modify version information to bypass Sequoia's compatibility check:
- Install Xcode 16 from xcodereleases.com
- Navigate to
/Applications/Xcode.app/Contents/
and copyInfo.plist
- Paste this file into
/Applications/Xcode-15.app/Contents/
- Launch Xcode 15 normally
- Close Xcode and restore the original
Info.plist
# Replace XCODE_VERSION with your actual Xcode 15 version
defaults write /Applications/Xcode-15.4.app/Contents/Info.plist CFBundleVersion -string 23051
DANGER
Use this method sparingly. Restore the original file immediately after launch to prevent update issues and potential instability. Not recommended for production environments.
Additional Configuration Steps
After launching Xcode 15 successfully, complete these critical configurations:
1. Accept License Agreement
sudo xcodebuild -license
Press space
to scroll through the agreement, then type agree
when prompted.
2. Set Default Command Line Tools
sudo xcode-select -s /Applications/Xcode-15.app
xcode-select -p
# /Applications/Xcode-15.app/Contents/Developer
Alternative Approach: Shortcut Script
Create a reusable launcher script to avoid repetitive navigation:
#!/bin/bash
XCODE_PATH="/Applications/Xcode-15.app"
XCODE_EXECUTABLE="$XCODE_PATH/Contents/MacOS/Xcode"
if [ -e "$XCODE_EXECUTABLE" ]; then
echo "Launching Xcode 15..."
"$XCODE_EXECUTABLE"
else
echo "Xcode not found at $XCODE_PATH"
fi
To use:
- Save as
launch_xcode15.sh
- Make executable:
chmod +x launch_xcode15.sh
- Run:
./launch_xcode15.sh
Solution Comparison
Method | Difficulty | Safety | Persistence | Recommended For |
---|---|---|---|---|
Direct Executable Launch | Low | ★★★★★ | Per session | Most users |
Info.plist Modification | Medium | ★★☆☆☆ | Temporary | Emergency use only |
Launch Script | Medium | ★★★★☆ | Persistent | Frequent usage |
Best Practices for Long-Term Stability
- Migrate to Xcode 16: Apple recommends updating projects for Sequoia compatibility
- Maintain dual installations: Keep both Xcode 15 and 16 in
/Applications/
- Use xcode-select: Explicitly define active version for command-line tools
- Delete derived data: Resolve build issues with
~/Library/Developer/Xcode/DerivedData
cleanup
TIP
When using dual Xcode installations, rename apps to include version numbers (e.g., Xcode-15.app
, Xcode-16.app
) to avoid conflicts and simplify management.
sudo mv /Applications/Xcode.app /Applications/Xcode-15.4.app
These solutions allow Xcode 15 to function on macOS Sequoia while you transition to fully compatible development environments.