Search code examples
c#visual-studioxamarinxamarin.ios

"Debug is not enabled in the current configuration" - how to enable it?


When trying to debug a Release build of a Xamarin.Forms app on iOS from Visual Studio on a PC, I get the following message:

enter image description here

But the "iOS Build" screen doesn't have any option for that. So how can I test a Release build on an iOS device?


Solution

  • When selecting Release mode for Xamarin iOS project, you need to Enable debugging .

    Follow this steps : iOS properties -> iOS Debug - > Enable debugging

    enter image description here