Skip to content

Unable to build macOS app with Xcode 26 beta - Swift 6.2 ConformanceIsolation errors in AXorcist #57

@LeoGarcia109

Description

@LeoGarcia109

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 build

Errors

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.swift
  • Core/Element+UIAutomation.swift
  • Models/JSONPathHintComponent.swift
  • Core/AXError+Extensions.swift
  • Core/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions