Skip to content

[BUG] Error when using Xcode 26 beta 2 tools #91

@mac-cain13

Description

@mac-cain13

Describe the bug
xcparse (at least the screenshots command) fails when having Xcode 26 beta 2 selected for commandline tools

Desktop (please complete the following information):

  • OS: macOS 15.5
  • xcparse Version 2.3.2
  • Swift version 6.2
  • XCResult version: "version" : { "major" : 3, "minor" : 53 }

To Reproduce
Steps to reproduce the behavior:

  1. Xcode-select Xcode 26 beta 2
  2. Run a xcparse command like: xcparse screenshots --test testresults.xcresult screenshots

Expected behavior
Screenshots should be exported to the screenshots folder (as it does when Xcode 16 is selected)

Additional context
An error is outputted and no screenshots are exported

Warning: Could not determine xcresulttool version
Error: Error: This command is deprecated and will be removed in a future release, --legacy flag is required to use it.
Usage: xcresulttool get object [--legacy] --path <path> [--id <id>] [--version <version>] [--format <format>]
  See 'xcresulttool get object --help' for more information.

Error: “/Volumes/External/Repositories/VideoEditor/testresults.xcresult” does not appear to be an xcresult

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions