Skip to content →

Apple Configurator 2 – cfgutil

It seems that the cfgutil has problems in macOS 12 .
When running it, this error message is displayed:

objc[23900]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1f497b130) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1048c02c8). One of the two will be used. Which one is undefined.

objc[23900]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1f497b180) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1048c0318). One of the two will be used. Which one is undefined.

This error output can destroy or interrupt an automation, so at the moment there is only the possibility of intercepting the error message.
For this, we simply forward the error message to /dev/null.

Published in Apple Configurator macOS Monterey

One Comment

  1. jamf administrator jamf administrator

    Ran in to this same error working with configurator automation tools. None of the fixes I’ve found have worked so far. Had to redirect stderr for every call to cfgutil.

    jamf administarator – 21MAR2022

Leave a Reply

Your email address will not be published.