How to disable debugging symbols in xamarin ios application

Aswathy 41 Reputation points
2022-09-28T18:18:13.283+00:00

Hi ,
I need to remove the debugging symbols from the ipa file of my Xamarin ios application. How can I do this.
I have already disabled debugging option in the ios->propertes->ios Debug. But it didn't worked for me during vulnerablity test they again raised the issue, they are taking ipa through app center . Please help me on this ,I am stuck on this for few weeks.

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

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,746 Reputation points Microsoft Vendor
    2022-09-29T09:42:53.553+00:00

    Hello @Aswathy ,

    If you are trying to archive an ipa, it may be under Release mode. You can go to iOS->Properties->iOS Build, select release configurations, then check Strip native debugging symbols , and add --dsym=false for Additional mtouch arguments.
    For more details, you can refer to iOS Build Mechanics - Xamarin | Microsoft Learn.

    In addition, you are using App Center, you could access App Center free support, please see Help and Feedback - Visual Studio App Center | Microsoft Learn.

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.