Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

2FA code never arrives during xtool setup on 1.24.0, and no workaround works on iOS 27.2

未关闭
#407 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
46/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
ios, swift

调研方向

Start by reading the login and 2FA flow involved in xtool setup, then compare the 1.24.0 behavior with the changes in #406 and the Omnisette switch in #380. Reproduce the missing delivery and rejected code, and collect the verbose logs or network capture the reporter offered. Done means xtool receives a usable code or prints a working fallback when delivery fails.

由索引模型根据 Issue 内容生成。

描述

bug

Description
Following up on #283, which was closed after #349 landed. On xtool 1.24.0 the password login gets past Logging in... and shows the Code: prompt, but no verification code ever arrives on my trusted devices. Signing in to the same Apple ID at account.apple.com sends codes normally.

I can't use the workaround either:

Manual code (#349 fallback): iOS 27.2 has no "Get Verification Code" option under Settings → [name] → Sign-In & Security.
Code from another sign-in: I started a sign-in at account.apple.com while xtool waited at Code:, tapped Allow on my iPhone, and entered that 6-digit code into xtool. xtool rejected it.
So right now there is no way for me to get a code xtool will accept.

Steps to reproduce
xtool setup
Choose 1: Password
Enter Apple ID + password
Logging in... → Code: prompt appears, but no code is delivered
Expected
A 2FA code arrives on a trusted device. If delivery failed, xtool prints the #349 fallback instructions.

Actual
No code arrives, and no error or fallback message is printed. xtool just waits at Code:.

Environment
xtool 1.24.0
Fedora 46, kernel 7.4.0, x86_64 (native Linux, not WSL)
Trusted device: iPhone on iOS 27.2
Advanced Data Protection enabled; trusted devices are used for 2FA
Notes
Same symptom as the Oct 26 comment on #283 (also 1.24.0).
Possibly related to the GSA user agent change in 1.24.0 (#406) or the Omnisette switch in 1.23.0 (#380).
The #349 fallback instructions need updating, or a different method, for iOS versions that no longer offer "Get Verification Code".
Happy to share verbose logs or a network capture. Let me know which flag or env var to use.

主要语言
Swift
星标
5.5k
派生
163
平均合并
1 天 7 小时
30 天内合并 PR
30

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

xtool-org/xtool 的其他 Issue

查看 xtool-org/xtool 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。