-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
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 buildNote: 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
- Install macOS 26 Beta (Tahoe)
- Clone Claudia repository
- Run
bun install - Run
bun run tauri build - 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels