Skip to content

build(config): move macOS deployment target config to root#73

Merged
missuo merged 2 commits into
missuo:mainfrom
thedavidweng:codex/fix-macos-deployment-target-mismatch
Apr 11, 2026
Merged

build(config): move macOS deployment target config to root#73
missuo merged 2 commits into
missuo:mainfrom
thedavidweng:codex/fix-macos-deployment-target-mismatch

Conversation

@thedavidweng

Copy link
Copy Markdown
Contributor

Summary

Fix the macOS deployment target mismatch by moving the Rust build
configuration to the repository root, where the actual Cargo entrypoints
run.

This keeps the build target at macOS 14.0 and prevents native objects
from being compiled with the newer 26.0 deployment marker.

Changes

  • move MACOSX_DEPLOYMENT_TARGET=14.0 to the root .cargo/config.toml
  • remove the duplicate koe-core/.cargo/config.toml
  • force audiopus_sys to bypass system pkg-config and build bundled
    Opus instead
  • set CMAKE_POLICY_VERSION_MINIMUM=3.5 so bundled Opus configures
    cleanly on the current CMake version

Verification

  • cargo build --manifest-path koe-core/Cargo.toml --release --target aarch64-apple-darwin
  • cd KoeApp && xcodebuild -project Koe.xcodeproj -scheme Koe -configuration Debug ARCHS=arm64 build

Notes

No runtime behavior changes. This only aligns build configuration and
removes the Xcode linker warning caused by mixed macOS deployment
versions.

@missuo missuo merged commit 97db26a into missuo:main Apr 11, 2026
@thedavidweng thedavidweng deleted the codex/fix-macos-deployment-target-mismatch branch April 11, 2026 19:41
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.

2 participants