Cannot Sign In: This Apple ID is valid but is not an iCloud account.

I'm a solo developer who's ready to try and release his first iOS app. I wrote the app in an editor in Windows but it needs to be compiled in Xcode on a Mac. I decided that a VM would be the most convenient way to do this, so I've downloaded and installed VirtualBox, which I'm familiar with. I was able to follow instructions to create a Mojave iso and install it in a VM. Perfect. Except to install Xcode I need to login to the App Store. Whenever I enter my details to login the login dialogue popup closes after a couple of seconds but I'm not logged in. Going to System Preferences > iCloud to login gets the error message:

Cannot Sign In

This Apple ID is valid but is not an iCloud account.

Lastly, System Preferences > Users & Groups does not show the normal Apple ID field. I can login with my credentials in the iTunes, no problem. I can also login at icloud.com. I used Clover Configurator to generate a unique serial, which I confirmed at checkcoverage.apple.com as an invalid serial, which the guide said was the right thing to do. Can anyone help? I'm out of ideas of things to Google. This seems to be an issue with the hackintosh install, not my accounts.

submitted by /u/Phedg1
[link] [comments]