Forum Xamarin.iOS

There is no option to set ARC flag in xamarin ios build configurations.

For one of my applications apple has raised warning as Automatic Reference Counting is not enabled. In the previous version of visual studio there was one checkbox for enabling ARC but now we don't have any checkbox. I tried to set flag as -gcc_flags "-fobjc-arc", but i don't think it is the proper solution. Please help me to resolve this issue.

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    I saw someone said it worked after adding this argument:
    https://stackoverflow.com/questions/43724067/enabling-in-arc-in-xamarin
    And if you are developing with the latest Xamarin iOS library you project must have used the New Reference Counting System. Is this a legacy project or created by this new Xamarin iOS version?
    Have you referenced some third party libraries which haven't supported ARC?

  • moeejtambolimoeejtamboli USMember

    I am using Xamarin.iOS v13.10.0.17. It is not legacy project and I am not using any third party library still apple has given a warning.

  • ElvisXiaElvisXia Member, Forum Administrator, Xamarin Team Xamurai

    @moeejtamboli Can you share a basic sample app that can reproduce this issue?

Sign In or Register to comment.