-
-
Notifications
You must be signed in to change notification settings - Fork 69.2k
Unable to build macOS app with Xcode 26 beta - Swift 6.2 ConformanceIsolation errors in AXorcist #57
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
Problem
The macOS app cannot be built with Xcode 26 beta (Swift 6.2) due to strict concurrency errors in the Peekaboo/AXorcist submodule.
Environment
- macOS 26.0 (Tahoe)
- Xcode 26 beta (Swift 6.2)
- Clawdis cloned with all submodules (Peekaboo, Swabble)
Steps to reproduce
git clone --recursive https://github.com/steipete/clawdis.git
cd clawdis/apps/macos
swift buildErrors
error: conformance of 'BatchResponse.CodingKeys' to protocol 'CodingKey' crosses into main actor-isolated code and can cause data races [#ConformanceIsolation]
error: conformance of 'UIAutomationError' to protocol 'LocalizedError' crosses into main actor-isolated code and can cause data races [#ConformanceIsolation]
Multiple files in Peekaboo/AXorcist/Sources/AXorcist/ are affected:
Core/ResponseModels.swiftCore/Element+UIAutomation.swiftModels/JSONPathHintComponent.swiftCore/AXError+Extensions.swiftCore/CommandEnvelope.swift
Root cause
Swift 6.2 introduces stricter ConformanceIsolation checks. Structs with @MainActor isolation that conform to CodingKey or LocalizedError now produce errors because the protocol requirements cannot be satisfied by main actor-isolated properties.
Workaround attempted
- Tried compiling with Xcode 16.4 (Swift 6.1) but Package.swift requires
swift-tools-version: 6.2 - Updated Peekaboo submodule to latest
origin/main- same errors
Expected behavior
The macOS app should compile successfully with Xcode 26 beta.
Notes
The CLI gateway works perfectly - only the macOS app (with Voice Wake feature) cannot be built.
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Type
Fields
Give feedbackNo fields configured for issues without a type.