{"id":43666,"date":"2024-06-13T14:49:11","date_gmt":"2024-06-13T18:49:11","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=43666"},"modified":"2024-06-18T11:15:19","modified_gmt":"2024-06-18T15:15:19","slug":"using-apple-accounts-with-macos-virtual-machines","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2024\/06\/13\/using-apple-accounts-with-macos-virtual-machines\/","title":{"rendered":"Using Apple Accounts With macOS Virtual Machines"},"content":{"rendered":"<p><a href=\"https:\/\/arstechnica.com\/gadgets\/2024\/06\/apple-quietly-improves-mac-virtualization-in-macos-15-sequoia\/\">Andrew Cunningham<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=40643181\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/arstechnica.com\/gadgets\/2024\/06\/apple-quietly-improves-mac-virtualization-in-macos-15-sequoia\/\"><p>But up until now, you haven&rsquo;t been able to sign into iCloud using macOS on a VM. This made the feature less useful for developers or users hoping to test iCloud features in macOS, or whose apps rely on some kind of syncing with iCloud, or people who just wanted easy access to their iCloud data from within a VM.<\/p>\n<\/blockquote>\n<p>Or even to run an app from the Mac App Store.<\/p>\n\n<blockquote cite=\"https:\/\/arstechnica.com\/gadgets\/2024\/06\/apple-quietly-improves-mac-virtualization-in-macos-15-sequoia\/\">\n<p>This limitation is going away in macOS 15 Sequoia, according to <a href=\"https:\/\/developer.apple.com\/documentation\/virtualization\/using_icloud_with_macos_virtual_machines\">developer documentation<\/a> that Apple released yesterday. As long as your host operating system is macOS 15 or newer and your guest operating system is macOS 15 or newer, VMs will now be able to sign into and use iCloud and other Apple ID-related services just as they would when running directly on the hardware.<\/p><\/blockquote>\n<p>Great news, but the version restrictions mean it will be most useful after the <em>next<\/em> WWDC.<\/p>\n\n<p><a href=\"https:\/\/developer.apple.com\/documentation\/virtualization\/vzgenericplatformconfiguration\/4360553-isnestedvirtualizationsupported\">Apple<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=40642328\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/documentation\/virtualization\/vzgenericplatformconfiguration\/4360553-isnestedvirtualizationsupported\">\n<p>Nested virtualization is available for Mac with the M3 chip, and later.<\/p>\n<\/blockquote>\n<p>This means running a VM inside of a VM.<\/p>\n\n<p><a href=\"https:\/\/x.com\/krzyzanowskim\/status\/1800257275984036057\">Marcin Krzyzanowski<\/a>:<\/p>\n<blockquote cite=\"https:\/\/x.com\/krzyzanowskim\/status\/1800257275984036057\">\n<p>macOS virtual machine allows to install macOS AND USE ICLOUD<\/p>\n<p>That is 99% what you need to have viable macOS simulator.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/tinyapps.org\/blog\/202406100700_icloud_in_arm_vm.html\">Miles Wolbe<\/a>:<\/p>\n<blockquote cite=\"https:\/\/tinyapps.org\/blog\/202406100700_icloud_in_arm_vm.html\"><p>&ldquo;Using a macOS 15 installer to upgrade an older VM doesn&rsquo;t provide support for iCloud.&rdquo;<\/p><p>Sadly, signing in to the App Store does not appear to be supported (for now?), returning &ldquo;An unknown error occurred.&rdquo;<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/09\/15\/limitations-on-macos-virtual-machines\/\">Limitations on macOS Virtual Machines<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/07\/11\/beta-updates-in-a-macos-vm\/\">Beta Updates in a macOS VM<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/06\/05\/macos-14-sonoma-announced\/\">macOS 14 Sonoma Announced<\/a><\/li>\n<\/ul>\n\n<p id=\"using-apple-accounts-with-macos-virtual-machines-update-2024-06-18\">Update (2024-06-18): <a href=\"https:\/\/eclecticlight.co\/2024\/06\/17\/how-sequoia-changes-virtualisation-on-apple-silicon\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2024\/06\/17\/how-sequoia-changes-virtualisation-on-apple-silicon\/\">\n<p>This article explains the changes promised in macOS Sequoia as a host, and their consequences on VMs.<\/p>\n<p>[&#8230;]<\/p>\n<p>In previous versions of macOS, VMs have been unable to access most storage except in the VM&rsquo;s own disk image or through shared folders. With Sequoia they will now be able to access USB storage through the UUID of the storage device. This should provide direct access to external disks, and any other external storage connected to the host via USB.<\/p>\n<p>[&#8230;]<\/p>\n<p>For those with Macs with Ultra chips and ample cores, there&rsquo;s no indication that Apple has relaxed its licence to allow any more than two macOS VMs to be run at the same time.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Andrew Cunningham (Hacker News): But up until now, you haven&rsquo;t been able to sign into iCloud using macOS on a VM. This made the feature less useful for developers or users hoping to test iCloud features in macOS, or whose apps rely on some kind of syncing with iCloud, or people who just wanted easy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2024-06-13T18:49:14Z","apple_news_api_id":"038c4fc4-4029-4cc8-81d5-fa2e2614f7c5","apple_news_api_modified_at":"2024-06-18T15:15:22Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAg==","apple_news_api_share_url":"https:\/\/apple.news\/AA4xPxEApTMiB1fouJhT3xQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[707,2489,2491,2490,75,16,30,39,2598,1959,2251],"class_list":["post-43666","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-id","tag-apple-m3","tag-apple-m3-max","tag-apple-m3-pro","tag-developertool","tag-icloud","tag-mac","tag-macappstore","tag-macos-15-sequoia","tag-simulator","tag-virtualization"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/43666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=43666"}],"version-history":[{"count":4,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/43666\/revisions"}],"predecessor-version":[{"id":43736,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/43666\/revisions\/43736"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=43666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=43666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=43666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}