If your iMac does not recognize your controller, please check your connection with a USB-C cable.
Use a USB-C port with the "Thunderbolt" port instead.
Please see other article below as well if your gear is the DDJ-FLX4.
Attached link also helps.
if your issue is not solved, please contact us from here.