Enabling Supervised mode in iOS devices without using Apple Configurator 2 and DEP.
I am able to enable Supervised mode in iOS devices without using Apple configurator 2 and DEP. Please find the steps to do that below.
- Connect your device to the mac machine.
- Using iTunes, backup the device in your local computer without Encryption.
- In the Backup files, open the Manifest.db database and query the Files table as follows.
- select * from files where relativePath = 'Library/ConfigurationProfiles/CloudConfigurationDetails.plist'
- Get the fileID from result.
- Search for fileID in the backup files. It will be usually in "1e" folder. This is the plist that contains "Supervised mode" details.
- Change the Supervised mode value in that plist as true and add your own organization details in the plist as follows.
<key>IsSupervised</key>
<true/>
<key>OrganizationAddress</key>
<string>123,abc street</string>
<key>OrganizationEmail</key>
<string>a@b.com</string>
<key>OrganizationName</key>
<string>ABC Corporation</string>
<key>OrganizationPhone</key>
<string>555-555-5555</string>
Restore this modified backup files to the same device again. Now, the supervised mode is enabled in the device.
Now, coming to my question, Can i publish an iOS app with features that works in supervised mode and ask the users to put their devices to supervised mode using the above steps (of course, i will develop a mac app and windows app for the users to backup and restore the device)?
Will Apple approve my iOS app as i am bypassing Apple's standard way of enabling Supervised mode?
iPhone 7 Plus, iOS 12