Skip to content

Build Failure on macOS 26 Beta (Tahoe) - SDK Compatibility Issue #233

@matkoson

Description

@matkoson

Build Failure on macOS 26 Beta (Tahoe) - SDK Compatibility Issue

Issue Summary

Claudia fails to build on macOS 26 Beta due to SDK compatibility issues with the mac-notification-sys crate.

Environment

  • macOS Version: 26.0 Beta (Tahoe) - Darwin 25.0.0
  • Rust Version: 1.88.0
  • Tauri Version: 2.5.1
  • Affected Devices: All macOS 26 Beta systems tested (M2, M4, Intel MBP)

Error Details

error: module '_c_standard_library_obsolete' requires feature 'found_incompatible_headers__check_search_paths'
fatal error: could not build module 'Cocoa'

error: failed to run custom build command for `mac-notification-sys v0.6.4`

Root Cause

The macOS 26 Beta SDK introduces breaking changes in the C standard library headers that are incompatible with the current version of mac-notification-sys crate (v0.6.4).

Workaround

Set the SDKROOT environment variable to use the macOS 15 SDK:

export SDKROOT=/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk
bun run tauri build

Note: The exact path may vary depending on your Xcode installation.

Tested Systems

  • M2 MacBook Air - macOS 26.0 Beta, Xcode 16.2.0
  • M4 Mac - macOS 26.0 Beta, Xcode 16.2.0
  • Intel MacBook Pro - macOS 26.0 Beta, Xcode 16.0.0

Reproduction Steps

  1. Install macOS 26 Beta (Tahoe)
  2. Clone Claudia repository
  3. Run bun install
  4. Run bun run tauri build
  5. Observe the SDK compatibility error

Suggested Fix

Update the mac-notification-sys dependency to a version compatible with macOS 26 SDK, or add build configuration to handle the SDK differences.

Additional Context

This issue affects all Rust projects using native macOS notification APIs on macOS 26 Beta. The workaround successfully allows building and running Claudia on all tested devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions