Apple Account and iCloud

What works and what does not when you use Apple services inside a Hoy macOS VM.

You can't sign in to an Apple Account in System Settings inside a Hoy VM. Apple only allows that sign-in in VMs that run on Apple's own Virtualization framework. Hoy runs VMs on its own engine, so the system-wide Apple Account sign-in is not available, and features that depend on it don't work.

What works#

  • iCloud on the web. Open icloud.com in Safari or another browser in the VM, and use "Sign in with Apple" on websites.
  • iCloud Mail, Calendar and Contacts. Create an app-specific password for your Apple Account, then add the account in Mail, Calendar or Contacts with that password.
  • CloudKit web services. Apps that use CloudKit's web services work as they do on any Mac.
  • Xcode code signing. Sign with an App Store Connect API key or with certificates and provisioning profiles you install in the VM. Download Xcode from developer.apple.com rather than the App Store.

What doesn't work#

  • Signing in to an Apple Account in System Settings.
  • iCloud Drive sync, iCloud Keychain and iCloud Photos.
  • Messages (iMessage) and FaceTime.
  • The App Store, including downloading apps you've bought.
  • Xcode's Accounts sign-in. Use an App Store Connect API key instead.

This is a known limitation. If you need it for your work, tell us at hoy@cua.ai.