Skip to content

Ask to sign in when the Apple data source returns 401 - #864

Draft
anciltech wants to merge 2 commits into
XcodesOrg:mainfrom
anciltech:fix/apple-datasource-signin
Draft

anciltech wants to merge 2 commits into
XcodesOrg:mainfrom
anciltech:fix/apple-datasource-signin

Conversation

@anciltech

Copy link
Copy Markdown

Summary

Refreshing with the Apple data source while signed out showed the raw error:

Unable to update selected Xcode — The operation couldn't be completed. (NetworkError.non200StatusCode(statusCode: 401, data: Optional(60 bytes)))

It now shows an alert explaining that this data source lists releases from your Apple Developer account and needs you to be signed in, with a Login button (or switch the source to Xcode Releases in Settings). Other errors are unchanged.

New strings: Alert.Update.AuthError.Title, Alert.Update.AuthError.Message (English only for now).

Pairs well with the auto-refresh PR, which refreshes automatically after signing in, but doesn't depend on it.

🤖 Generated with Claude Code

anciltech and others added 2 commits September 29, 2026 08:05
Refreshing with the Apple data source while signed out showed the raw
"NetworkError.non200StatusCode(statusCode: 401...)" error. Show an
alert explaining that this source needs an Apple Developer sign-in,
with a Login button, instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Xcode keeps string catalog keys sorted case-insensitively and rewrote
the file on build because the two new keys were out of order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant