'No Lens Attached' - Warning Message Appears


The camera needs to be set to function without a EF-M Mount lens attached. You can do this by changing the following camera setting:
    'Menu' -> 'Custom Menu' -> 'Custom Function 7' -> Select 'Release shutter w/o lens'
     (Exact naming and location of this option may change depending on camera model)