Skip to content

Add support for macOS 14, 15, and future darwin versions#64

Open
tobiashochguertel wants to merge 1 commit intomoretension:masterfrom
tobiashochguertel:fix-macos-15-compatibility
Open

Add support for macOS 14, 15, and future darwin versions#64
tobiashochguertel wants to merge 1 commit intomoretension:masterfrom
tobiashochguertel:fix-macos-15-compatibility

Conversation

@tobiashochguertel
Copy link

Problem

The build system currently fails on macOS 15 (darwin25) with the error:

configure: error: darwin25.1.0 is not a supported system

Solution

This PR updates aclocal.m4 to add support for:

  • darwin23 (macOS 14)
  • darwin24 (macOS 15)
  • darwin2* (future macOS versions)

Changes

  • Added specific cases for darwin23 and darwin24 with appropriate deployment targets
  • Added wildcard pattern darwin2* to support future macOS versions without requiring code changes
  • Maintains full backward compatibility with all previous macOS versions (darwin8-22)
  • Uses modern SDK path (MacOSX.sdk) and supports both x86_64 and arm64 architectures

Testing

Successfully built and tested on macOS 15 (darwin25.1.0):

autoreconf -i
./configure
make
./duti -x html  # Works correctly

The fix ensures forward compatibility while maintaining backward compatibility with older macOS versions.

- Added darwin23 (macOS 14) and darwin24 (macOS 15) specific cases
- Added darwin2* wildcard pattern to support future macOS versions
- Maintains backward compatibility with all previous macOS versions
- Uses modern SDK path and supports both x86_64 and arm64 architectures

This fix resolves build errors on macOS 15 (darwin25) and ensures
forward compatibility with future macOS releases.
Copilot AI review requested due to automatic review settings November 7, 2025 18:49
@tobiashochguertel
Copy link
Author

This fix has been tested and verified working on macOS 15 (darwin25.1.0). The wildcard pattern approach ensures that future macOS versions (darwin26, darwin27, etc.) will work without requiring additional code changes.

The changes are minimal and surgical - only updating the aclocal.m4 configuration file to recognize newer darwin versions. All existing functionality and backward compatibility is preserved.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for macOS Sonoma (darwin23) and macOS Sequoia (darwin24), along with a catch-all pattern for future macOS versions in the darwin2X family. The changes update the autoconf macros to properly configure SDK paths, architecture flags, and deployment targets for these newer operating systems.

  • Adds darwin23 (macOS 14 Sonoma) and darwin24 (macOS 15 Sequoia) support
  • Includes darwin2* catch-all patterns to handle future macOS versions (darwin25+)
  • Sets deployment targets to 14 for darwin23 and 15 for darwin24/darwin25+

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant