Unable to debug Xamarin.Forms iOS project after publishing app to AppStore

Shantimohan Elchuri 721 Reputation points
2021-09-14T15:38:29.89+00:00

I have recently published a new version of an app to both Play Store and App Store. Now I changed to "Debug" and try to debug. In Android the control breaks at a break-point but in iOS the execution is not stopping at any break-point.

I did change the setting that I modified to publish in Release mode. So what am I missing. This is happening only in iOS.

I am using VS 2019 Community Edition Version 16.11.2.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kyle Wang 5,531 Reputation points
    2021-09-15T06:08:20.633+00:00

    @Shantimohan Elchuri Open the project property window and go to "iOS Build" and set Linker Behavior to "Don't Link". And click "Build->Advanced" to check if "Debugging inforamtion" is "Portable". Delete bin and obj folder under the project path, clean the project and rebuild it. If all of these not work, please report a problem on Developer Community.