Skip to content

xcode installed command doesn't parse .xcode-version beta format #306

@rzulkoski

Description

@rzulkoski

When using the Xcode 15 beta you can update your .xcode-version file to reference version "15" or "15.0" and as long as you only have 1 beta installed it will resolve the correct path. However, if you have more that one beta installed it will return an error due to it finding multiple matches, which is the desired behavior. In order to disambiguate which version you are trying to reference you can specify a version like "15.0b3". The issue is that the xcode installed command doesn't recognize this format.

This causes downstream issues when using tools like Fastlane for builds as it is able to properly determine the desired version, but then causes an error when querying xcodes.

Desired behavior:
xcodes installed "15.0b2"
/Applications/Xcode-15.0.0-Beta.2.app

Actual behavior:
xcodes installed "15.0b2"
15.0 B 2 is not installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions