I'm facing the following issue when trying to change the management state of an already installed application on iOS 14 and iOS 15.
If the signature of the application is development or ad-hoc, when I try to manage the applications, it seems to try to install the App Store version. This behavior is not happening on iOS 16. The question is: Is there a way to avoid updating the application and change the state to manage only on iOS 14 and iOS 15?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Command</key>
<dict>
<key>RequestType</key>
<string>InstallApplication</string>
<key>Identifier</key>
<string>my.app.com</string>
<key>ChangeManagementState</key>
<string>Managed</string>
<key>InstallAsManaged</key>
<true/>
<key>ManagementFlags</key>
<integer>1</integer>
</dict>
<key>CommandUUID</key>
<string>01234567-89ab-cdef-0123-456789abcdef</string>
</dict>
</plist>