macOS-Simple-KVM icon indicating copy to clipboard operation
macOS-Simple-KVM copied to clipboard

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

Open 512yottabytes opened this issue 2 years ago • 11 comments

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 avatar May 18 '22 08:05 512yottabytes

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 avatar May 18 '22 09:05 512yottabytes

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. .

512yottabytes avatar May 18 '22 10:05 512yottabytes

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

notAperson535 avatar May 18 '22 11:05 notAperson535

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

  • iMessages ("An unknown error occured.")
  • FaceTime ("An error occured during authentication.")
  • iCloud ("Could not communicate with the server.")

512yottabytes avatar May 20 '22 11:05 512yottabytes

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

notAperson535 avatar May 20 '22 11:05 notAperson535

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

512yottabytes avatar May 20 '22 11:05 512yottabytes

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

notAperson535 avatar May 20 '22 11:05 notAperson535

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

Igor-Sanches avatar May 21 '22 15:05 Igor-Sanches

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

notAperson535 avatar May 21 '22 17:05 notAperson535

@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/

notAperson535 avatar Jul 08 '22 19:07 notAperson535

@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

adipascu avatar Apr 16 '23 00:04 adipascu