Feedback: Apple Configurator: Add ability to trigger update to Mobile Device Framework via CLI

You are here:
FB17937621 — macOS

Basic Information

Please provide a descriptive title for your feedback:
Apple Configurator: Add ability to trigger update to Mobile Device Framework via CLI

Which area are you seeing an issue with?
Installation/Setup/Migration/Recovery

What type of issue are you reporting?
Suggestion

Details

What does the installation/setup/migration/recovery issue you are seeing involve?
Something else not on this list

What build of macOS were you upgrading from?
Configurator Version 2.18 (10A23) but seems to be all versions

What time was it when this last occurred? (Example: 12:00 pm EST 02/14/2023)
Not answered

Description

Please describe the issue and what steps we can take to reproduce it:
When restoring an IPSW in DFU mode in Apple Configurator via the command line, if the IPSW is newer on the machine that is doing the restore, the restore can fail. Opening Apple Configurator via the app  and attempting restore will show a message about how the Mobile Device Framework needs to be installed and this will trigger a software update of the mobile device framework.  We have an app that uses cfgutil to restore macs in DFU mode and need a way to detect if the mobile device framework needs to be updated and a way to trigger the the update (and perhaps update without user intervention)

To replicate: 
1. Put a target mac into DFU mode
2. Connect a USB-C cable between the admin mac running configurator (on an older OS) and the target mac in DFU mode in DFU ports.
3. Restore using /Applications/Apple Configurator.app/Contents/MacOS/cfgutil", @"--progress",@"restore" -I <path to IPSW>
4. The restore will fail will an exit code != 0.

Expected behavior: The command line tool would give a error message and status code related to the issue of the mobile device framework needing to be updated. Also, triggering or giving an option to update the mobile device framework.

What actually happened: generic error and require user to do an apple apple configurator GUI restore to see error message and trigger mobile config update.