···238238239239---
240240241241+### `sandbox-exec: sandbox_apply: Operation not permitted` (Tauri ios-api build)
242242+243243+Swift Package Manager sandboxes its manifest compilation using `sandbox-exec`. On macOS 26 (Tahoe), `sandbox_apply()` returns `EPERM` in this context, causing `swift-rs`'s build script (used by Tauri) to fail with "Failed to compile swift package Tauri".
244244+245245+**Fix:** Already resolved. `src-tauri/.cargo/config.toml` sets `SWIFTPM_ENABLE_SANDBOX = "0"` in `[env]`, which tells SPM not to apply a sandbox when compiling `Package.swift` manifests. This is inherited by the `tauri` build script's child `swift` process.
246246+247247+---
248248+241249### Xcode build phase: `cargo: command not found`
242250243251After running `cargo tauri ios init`, the generated `project.pbxproj` build script has the system PATH which doesn't include the Nix dev shell or rustup-managed cargo.
+4
apps/identity-wallet/src-tauri/.cargo/config.toml
···13131414[env]
1515RUST_TEST_THREADS = "1"
1616+# Swift Package Manager uses sandbox-exec to sandbox manifest compilation.
1717+# On macOS 26 (Tahoe), sandbox_apply() returns EPERM, failing the Tauri ios-api
1818+# build step. Disabling the SPM sandbox is safe for local dev builds.
1919+SWIFTPM_ENABLE_SANDBOX = "0"
1620CC_aarch64_apple_ios_sim = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
1721CC_aarch64_apple_ios = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
1822CC_aarch64_apple_darwin = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"