MAUI Cannot debug MacCatalyst when bundle signing / code signing enabled.

Moose 0 Reputation points

Using Visual Studio for Mac v17.5.5, I cannot run my maccatalyst app on my mac unless I disable code signing in the bundle signing options.

I have created all the certs etc. (for non-Apple store deployment) using the instructions from here but setting the code signing to Automatic or Always Sign results in the app not starting.

When Identity is set to "Developer ID (Automatic)" the app icon flashes for a second on the app bar then disappearing, and the message "Waiting for the debugger to connect to" spinning in the Visual Studio notification area.

If I change the Identity to actual certs, I get a message when I try to start in debug saying "Could not connect to the debugger".

So my question is this.... has anyone here managed to provision a MAUI MacCatalyst app for deployment outside of the app store, where they can enable Code Signing?

My app using SecureStorage.Default, so without signing I cannot test my code.

Any suggestions, or is this just another area where MAUI is useless?

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,176 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Moose 0 Reputation points

    As an update, following the steps in the following post helped me fix this.