foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.66k stars 1.14k forks source link

"Unable to sign you in to your Apple ID. Try again later." #564

Open 512yottabytes opened 2 years ago

512yottabytes commented 2 years ago

Hello, Successfully installed Monterey and imported it to the Virt-Manager, but can't use App Store, getting the message: "Unable to sign you in to your Apple ID. Try again later." I've found similar issue, but it was about using Clover, but, as far as I know, nowadays we use OpenCore, so we need solution for OpenCore. Can you give me piece of advice how to solve it? Thank you Зняток екрана як 2022-05-17 11-13-18 .

512yottabytes commented 2 years ago

Solution:

  1. Poweroff the VM.

  2. Convert qcow2 to raw img to make editing files inside image easier from Linux: qemu-img convert /var/lib/libvirt/images/macos_12_template_opencore.qcow2 /var/lib/libvirt/images/macos_12_template_opencore.raw mv -v /var/lib/libvirt/images/macos_12_template_opencore.raw /var/lib/libvirt/images/macos_12_template_opencore.raw.img

  3. Change disk file in virt-manager from /var/lib/libvirt/images/macos_12_template_opencore.qcow2 to /var/lib/libvirt/images/macos_12_template_opencore.raw.img.

  4. Loopback the image file and mount it's 1-st partition (EFI): losetup -Pf /var/lib/libvirt/images/macos_12_template_opencore.raw.img mount /dev/<YOUR_LOOP>p1 /mnt

  5. Edit ./OC/config.plist according to https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html#fixing-en0. Save the config.

  6. umount -v /mnt && sync

  7. Poweron the VM

  8. Inside VM open bash. Type ifconfig. If you have en1, en2 or en<ANY_OTHER_NUMBER> instead of en0 type: sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist && sudo rm /Library/Preferences/SystemConfiguration/preferences.plist

  9. Then reboot the VM.

Now App Store works.

512yottabytes commented 2 years ago

App Store works, but iCloud still isn't. So I reopen the issue. Зняток екрана як 2022-05-18 13-13-51 Maybe I'll find the solution, but I'm not interested in iCloud so much as in App Store. .

notAperson535 commented 2 years ago

@512yottabytes Why are you using opencore? My guide for opencore on my repository is here

512yottabytes commented 2 years ago

@notAperson535, opencore is out of the box in this repo. Is there any benefit of changing it? Tried you guide. Still can not use:

notAperson535 commented 2 years ago

@512yottabytes I thought this repo used clover. I specifically forked it and made my own to add opencore.

512yottabytes commented 2 years ago

AFAIK it used to use Clover year or 2 years ago.

notAperson535 commented 2 years ago

@512yottabytes Try the clvoer fix, as this repository is based on clover, not opencore. You are on the macOS-Simple-KVM made by foxlet.

Igor-Sanches commented 2 years ago

I'm having the same problem, can anyone help me?

notAperson535 commented 2 years ago

@Igor-Sanches follow the guide: https://github.com/foxlet/macOS-Simple-KVM/blob/master/docs/guide-Apple-ID.md

notAperson535 commented 2 years ago

@oxygen that is the clover guide, the open core guide is here: https://oneclick-macos-simple-kvm.notaperson535.is-a.dev/docs/guide-Apple-ID/

adipascu commented 1 year ago

@notAperson535 I've managed to fix it by following your guide + making sure the network mac address is an Apple one and making the interface built-in