AppleID Login failing in virtualized OS

Logging in with my Apple ID anywhere in the system (feedback assistant, Xcode, iCloud, etc.) fails when running under virtualization. Is this a known 'issue'? (networking in general is working fine)

Answered by DTS Engineer in 790410022

Apple just started seeding macOS 15 beta, where the Virtualization framework supports iCloud logins for macOS 15 guests. For the details, see Using iCloud with macOS virtual machines.

IMPORTANT This requires macOS 15 as both the guest and the host.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Extremely frustrating. I just purchased a shiney new M2 doorstop. I love the 'idea' of Apple Silicon, but for virtualization it's awful. I was resigned to compromising my needs and using a Dell XPS for virtualizing my Windows/Linux environments, but I bit the bullet and bought a nice M2 MacBook Pro with 32Gig of ram specifically and only to virtualize my macOS environments. I tried using UTM, ran into this issue and figured that UTM might be a little flaky, so I bought Parallels and had the same issue - which is ridiculously infuriating. Using your Apple Id is central to the macOS experience, its tentacles reach into everything, if it doesn't work, then macOS (effectively) doesn't work either. It's the equivilent of saying, "macOS works in a vm, but there isn't any mouse support!" - it's bonkers. I am pleading, Apple, please, please address this!

Not only did it not work, but IT DIDN'T SAY WHY IT DIDN'T WORK. I like to run a VM here and there to compartmentalize work without polluting my main environment. I can add a bunch of apps by direct download, but I can't install ANYTHING from the App Store, sign into Music, etc. Do you want to encourage me NOT to use Apple's ecosystem?

New MacBook Pro M2 Max, 64GB ram, 2TB hdd. 67 freaking billion transistors... Cannot basically work with a virtualized environment. If I would have known about that limitation, I probably would have bought a System76 linux machine. On the other hand I would have surely miss the great battery times. But seriously guys, we do not buy powerful machines like that just to surf the web and read e-mails. I did spit quite a good amount of cash for an extra 32GB just for that reason (virtualization). So that issue has been dragging for a year now and people in this thread have enumerated a nice extensive list of valid reasons why we need the feature. At least let us know if you're not planning to do anything about it (so I can go another direction for my development workflow)

I am trying to use a Monterey VM because Ventura cannot properly handle printer settings which makes Ventura worthless for running professional tools like a RIP.

Now this problem is rearing its ugly head. There is some Apple software which I would also like to use.

It is dismaying that Apple has created this dismal situation.

This is a big problem for us, too.

Apple locks everything to the apple id and in their own platform it doesnt work ????? this is so critical for me that im going back to my old intel macbook pro. doesnt look like apple is listening to the community. Does anyone know if this is even in Apple's roadmap?

I just ran into this problem -- Using Parallels Version 18.2.0 (53488) Business Edition on a host apple silicon MBP (Ventura 13.3). Apple ID works via the web, just not anywhere I need it (like in Xcode to add a Team so I can use certificates and profiles). Currently the only way to test some of the entitlements is to disable SIP -- something I don't have access to do on my production workstation.

Note that this isn't a problem on a personal host Intel mac (also Ventura 13.3) -- I've got VMware Fusion Professional Version 13.0.1 (21139760) on it and the Ventura guest OS I've got running there has no problems using the apple ID anywhere.

I had hoped maybe I could use VMware Fusion on the apple silicon host mac too, however VMWare has stated they do not plan to support macOS as a guest OS in Fusion: https://kb.vmware.com/s/article/88697?lang=en_US&queryTerm=88697 -- that and the current version has no way to spin up a macOS guest VM on that kind of host.

If anyone comes up with a workaround for apple silicon host systems, please post here!

@BenjaminApple This is an absolute need for me, too. I'd like to build and test "Designed for iPad" apps on macOS with Xcode. But I can only build and run them if I'm signed in to my account in Xcode. Please make this a priority. Simply supporting logging in to my account with Xcode in a VM would already go a long way. Thanks!

So I sit here with my maxed out MacBook Pro - and can develop Linux Software in a Fedora-VM, Windows Software in a Windows-VM and I am not able to connect to my developer Apple ID in a OS X VM? Apple try to guess the problem, please. You have one try. As already mentioned here, it is a no-go to pollute the host system environment with project specific software or remnants. So why use these shiny ARM notebooks anyway? All developer data is connected via the Apple ID and we cannot use it?

Wow. How many years will we have to wait for something as simple as this? Gotta love the genius catch-22 of making AppleID the be-all-end-all for the Apple ecosystem and then fail to even bother to make it work in something as simple as a VM that reportedly supports macOS (how can Paralells get away with even saying macOS VMs are supported)? This is a BASIC ask that should be on a clear roadmap, ASAP. Sadly, like so many other Applle SIlicon things, this is not ready for primetime. I now have a glorified M2 paperweight on my desk not suitable for any adult work situations in the real world. This is what happens when you iOS-ify a formerly robust operating system I guess?

Came here just to comment on this because I find it unbelievable that nobody at Apple has been able to find a way to deal with this. Even if allowing developers to create an appleid specifically for development purposes, less restricted, that does not contain any banking information etc - that can be used for downloading software from the apple store, xcode etc. Personally, I much rather use a VM for all development purposes where I can install as many IDE's as I wish along with Node.js, modules etc and keep the main host OS clean. This way I can then just backup one file - my entire development environment, move it to new hardware, create snapshots(when available) etc with endless possibilities. Please find a solution to this with priority !

Yea, it's truly insane I can't download my own app from the Mac App Store so I can test it properly!

I just found the thread after hitting the same issue. Was quite surprised, as macOS without iCloud is very limited... many reasons as given above.

Another +1, this limitation makes Macs with Apple Silicon less useful than Macs with Intel for a number of important testing scenarios. Being unable to download apps from the Mac App Store in a VM is a dealbreaker for a number of use cases.

@Benjamin My use case:

I'm running Ventura but I have a customer reporting an issue that only occurs on Monterey.

I need to debug the issue in Xcode.

I can't run Xcode in a Monterey VM because Xcode needs me to login to my Apple Id.

I can't run Xcode in a Monterey VM because Xcode needs me to login to my Apple Id.

You can probably get around that. Please start a new thread with more details. Specifically, I’d like know whether your distributing your product independently or via the Mac App Store.

Tag it with Debugging (at least) so that I see it.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

As per the other commenters above, the principal reason for running macOS in virtualized containers is to bypass the need to dual boot a machine to get access to a beta OS for testing software, which as a workflow is cumbersome and in reality completely impractical when also needing to be joining video conferences and conforming to corporate IT security policies.

Please provide us with a solution for logging in to the App Store / other iCloud services from macOS VMs on Apple Silicon.

I posted the above in this thread 9 months ago.

The recent removal of seedutil from macOS requiring to be logged in to an Apple account for access to developer seed beta updates to macOS has now enormously impacted our workflow for automation testing of our EndpointSecurity product.

We regularly run integration tests to exercise features of our EndpointSecurity product to validate that

  1. We have not introduced regressions in to our code
  2. macOS updates (especially beta udpates) haven't changed something that results in previously unexpected behaviour

We are now in a position where we're going to have to completely rebuild our Apple Silicon based VMs used for integration testing every time a new beta build is released, this also means having to join said VM to our MDM, and handle any other manual setup tasks required (such as providing user-approval for screenrecording in PPPC so that our integration suite can capture screenshots should any integration tests fail etc)

I am enormously frustrated by this. My original request in my post above stands - please, please provide a solution for logging in to iCloud accounts in Apple Silicon based VMs.

+1, feedback sent

To reiterate, there is a pressing need to be able to install beta macOS versions for development and testing. Ideally, there would be complete integration with Xcode, allowing me to write in, say 13.4, targeting 14(b1), Run, have it launch in the 14 VM, and connect the debugger. It's the only practical way to develop for unreleased macOS versions. iOS has the simulator. But macOS has either dual-booting, or buying a second Mac. Neither is practical.

I'd be okay with it being a special VM built into Xcode, and not something that would work on Parallels, for example, although I'm sure that restricts a lot of other use cases.

@eskimo, is there a way to build my macOS app locally and then copy it over to a VM to at least try to run it?

Ideally, there would be complete integration with Xcode

That’d be so cool! Please do file an enhancement request describing your requirements, and then post your bug number, just for the record.

is there a way to build my macOS app locally and then copy it over to a VM to at least try to run it?

Yeah, I do that all the time. The big variable is the level of integration. At one extreme, there’s no supported way to just choose Build > Run in Xcode and have it run in your VM [1]. At the other extreme, you can scp your program over to the VM and then run it as the user would. And if you do this a lot, you could spend some time improving the integration. For example:

  • You might use a post-build action to do the scp.

  • You might install the command-line tools on the VM to allow you to run the program in the debugger.

  • Or Xcode, with a dummy project, so you can debug by choosing Product > Perform Action > Run Without Building.

IMPORTANT If you do use scp, be wary of the issue described in Updating Mac Software.

The annoying snag that I most commonly hit relates to provisioning profiles. If your product requires a restricted entitlement then you need a profile to authorise that, and that means adding the VM’s provisioning UDID to your profile. With manual code signing that’s easy, but it can be a bit tricky to sort out with automatic code signing.

Now, I generally work on low-level stuff so my programs don’t relying on having an Apple ID available in and of themselves. If, for example, you’re building an app that relies on in-app purchase, that’s going to be a problem.

Oh, and this goes much better if your VM software supports snapshots, so you can test and retest from the same position each time. Such support is common in Intel VM products. For all the latest in the Apple silicon world, watch WWDC 2023 Session 10007 Create seamless experiences with Virtualization.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] I’m talking about using supported techniques on production versions of Xcode. There are various unsupported techniques that can help with this. I also know it’s a commonly requested feature, so it wouldn’t surprised if future versions of Xcode offered improvements in this space.

@eskimo So are you now able to sign into your apple id or no?

So are you now able to sign into your apple id or no?

Define “now”?

If you’re talking about current released stuff, the answer is still “No.”

If you’re talking about current beta stuff, my answer is “I don’t know.” I’ll do some digging…

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I'm working on a endpoint protection software and need a VM as a testing environment. being able to test with development beta is mandatory for me for discovering issues as early as possible.

If you’re talking about current beta stuff, my answer is “I don’t know.” I’ll do some digging…

I got confirmation that the Apple ID story hasn’t changed (r. 102844895). It’s definitely a priority — partly based on the number of bugs that you folks have filed! — but, as always, I can’t make any promises about The Future™.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Just found this issue because I was trying out macOS 14 in a VM, and noted that I couldn't log into either my account or my tester account. Fingers cross this is something sorted before the end of the macOS 14 beta cycle.

I wouldn't overly mind if it's only restricted to the Sandbox Testers accounts.

AppleID Login failing in virtualized OS
 
 
Q