Open tudorcraciun opened 2 weeks ago
I guess you are trying to get the value while in the Setup.app
?
If by Setup.app you mean the configuration wizard where you go through selecting Language, Country, etc, then yes. The ideal scenario would be to check for the MDM/DEP lock on a freshly reset device.
You can make activation, then query DeviceIsChaperoned, after that you can reset it to bring to blank state. If I understand you correctly
Hello! I have just stumbled upon this tool, and I was wondering if you found any way to detect if an MDM/DEP lock is present on a device without any configuration? A query to com.apple.mobile.chaperone with the key DeviceIsChaperoned returns true only after some setup is made on the device, and I cannot find a way to work around that.