Skip to content

AppleID auth error -80046 #378

Closed

Description

@KingTasaz

Description

I cannot login using xtool setup or xtool auth login. The first time i tried i got the code to appear on my phone (using option 1) but then when i typed in the code it closed immediately with error -80046. Now it doesnt even send the code anymore

Image

Environment

Host OS (macOS/Linux/WSL): Windows + WSL (Ubuntu)

Host OS version: Ubuntu 26.04.1 LTS

iOS device version: iPhone 14 Pro - iOS 18.6.2

Swift version: Swift version 6.4.1 (swift-6.4.1-RELEASE)

SDK version: Error: Swift SDK with ID darwin, host triple x86_64-unknown-linux-gnu, and target triple arm64-apple-ios is not currently installed.1 there is a possibility that this is related to my issue, or something else entirely (I ran swift sdk configure darwin arm64-apple-ios --show-configuration | grep -o 'iPhoneOS[0-9.]*\.sdk$').

Pinned by kabiroberai

Activity

  1. xcorpyo commented on Oct 22, 2026

    @xcorpyo

    Same here, reproduced today (2026-10-22).

    Environment

    • Host: Ubuntu 26.04 LTS (x86_64), native, not WSL
    • xtool: 1.22.2 (x86_64 AppImage)
    • Login mode: 1 (Password), regular Apple ID, not enrolled in the Developer Program
    • Device: iPhone 16 Pro on iOS 27, detected fine by xtool devices over USB

    Steps

    1. xtool auth login → choose 1 (Password)
    2. Enter Apple ID and password → [Downloading libraries] 100%
    3. The 2FA code arrives on the trusted device; I type it at the Code: prompt

    Result

    Error: This action cannot be completed at this time. (-80046)
    

    Like the report above, it fails right after the 2FA code is submitted. I haven't retried more than once, to avoid locking the account. Happy to test a fix build.

  2. cyrus123456 commented on Oct 22, 2026

    @cyrus123456

    same

  3. changed the title [-]Login Authentication Failed[/-] [+]AppleID auth error -80046[/+] on Oct 22, 2026
  4. kabiroberai commented on Oct 22, 2026

    @kabiroberai
    Member

    I believe Apple now blocks the GrandSlam login APIs on devices that use Android client strings. The fix is to use Mac anisette data, eg nab138/iloader@9025975. Working on a fix: #380.

    The good news is that this is also a better fix for #345 than the current "get 2FA code from elsewhere" workaround.

  5. pinned this issue on Oct 22, 2026
  6. marked Login Failed #374 as a duplicate of this issue on Oct 22, 2026
  7. FelixZannantoni commented on Oct 22, 2026

    @FelixZannantoni

    same here: "Logging in...
    Error: This action cannot be completed at this time. (-80046)"

  8. esaygit commented on Oct 22, 2026

    @esaygit

    same here after providing code error -80046

  9. linfeng627 commented on Oct 22, 2026

    @linfeng627

    some error code 80046

  10. shrikardayalu commented on Oct 22, 2026

    @shrikardayalu

    same here, gave me a code the first time on my phone but then gave -80046, then after that it just stopped giving the code when I tried again.

  11. cloudman4416 commented on Oct 22, 2026

    @cloudman4416

    same here
    Debian 13.7
    fun thing is that it worked fine on my last debian install (installed with the same usb) a few days ago but now it doesnt

  12. kabiroberai commented on Oct 22, 2026

    @kabiroberai
    Member

    This should be resolved in v1.23.0. Please update and let me know if that fixes the issue.

  13. xcorpyo commented on Oct 22, 2026

    @xcorpyo

    Confirmed fixed with 1.23.0 on Ubuntu 26.04 (x86_64 AppImage): login with password + 2FA works, and installing an unsigned Unity-built ipa to an iPhone 16 Pro on iOS 27 succeeded. Thanks!

  14. unpinned this issue on Oct 22, 2026
  15. added a commit that references this issue on Oct 23, 2026
    e3ce2c4
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions