Skip to content

Cannot log in with the Apple account due to DecodingError #447

Open

Description

@pan93412

Neither the app nor the CLI works.

Image
$ /opt/homebrew/Cellar/xcodes/1.6.2/bin/xcodes install 26.0
Apple ID:
Apple ID Password: 
The operation couldn’t be completed. (DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character '<' around line 1, column 1." UserInfo={NSDebugDescription=Unexpected character '<' around line 1, column 1., NSJSONSerializationErrorIndex=0}))))
The operation couldn’t be completed. (DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character '<' around line 1, column 1." UserInfo={NSDebugDescription=Unexpected character '<' around line 1, column 1., NSJSONSerializationErrorIndex=0}))))

Activity

  1. jamesblasco commented on Sep 25, 2025

    @jamesblasco

    Same problem with Xcodes Version 3.0.2 (34)

  2. Iron-Ham commented on Dec 8, 2025

    @Iron-Ham

    Still occurring on 1.6.2

  3. rafaelnobrekz commented on Feb 24, 2026

    @rafaelnobrekz

    This is happening to me on Sequoia. Any tips on how to solve it? Or is this tool abandoned perhaps?

  4. pan93412 commented on Feb 26, 2026

    @pan93412
    Author

    I have switched to the App Store distribution a while ago. It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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