UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Monterey Guest - can't edit Serial number for iMessage/Apple services

Open mamanban opened this issue 3 years ago • 6 comments

Hello. Cannot edit the serial number on my Monterey guest OS and I need it so I can use icloud/imessage etc.

Configuration

  • UTM Version: 3.1.15
  • OS Version: Monterey 12.3
  • Intel or Apple Silicon? Apple Silicon

mamanban avatar Mar 20 '22 23:03 mamanban

This would also be super handy for testing automated device enrollment workflows using Apple's DEP system.

ahrenstein avatar Mar 21 '22 01:03 ahrenstein

Does anyone know how to add or change this? The config.plist seems like a likely direction but I was not able to succeed. I tried changing it by adding a (serialnumber 12345678) just before first install boot but I am uncertain if I did it correctly.

I would also expect a way to add this after initial install - if anyone has any idea?

Is it possible to add the existing serial to Apple Business Manager?

lordbink avatar May 19 '22 21:05 lordbink

iCloud/AppleID's can't be used on Apple Silicon VMs without a special entitlement from Apple.

ideologysec avatar Jul 17 '22 05:07 ideologysec

Ignoring Apple IDs, is there still a way we can change the serial number so we can at least test Apple Business Manager enrollment workflows?

ahrenstein avatar Jul 17 '22 16:07 ahrenstein

This same problem of network entitlement seems to plague installing apps from the App Store as well. For example, Xcode cannot be traditionally installed and must be gotten and installed via the developer portal (https://developer.apple.com/download/all/).

I would be very curious to be interested in research that may facilitate the forcing of entitlements so we can use such virtual machines for more robust development scenarios. It's unreasonable for Apple to expect small and open source development efforts to somehow obtain a full blown dedicated Apple Silicon system for devs to use without it being sandboxed for a resource donor that might want to share some spare CPU cycles on their system(s).

ylluminate avatar Jul 27 '22 17:07 ylluminate

Is there a way to grant these entitlements as a local developer? Perhaps they can be a feature flag for "pro users" to compile UTM locally.

As for testing, I wonder if GitHub Actions will add Apple Silicon machines

ahrenstein avatar Jul 29 '22 20:07 ahrenstein