To run the Cl application on M1 Mac, your targets should support bot the architecture Arm and X86.
check this - https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary?language=occ
Topic:
App & System Services
SubTopic:
Drivers
Tags: