How to add ARC for specific file? How to add ARC for specific file? ios ios

How to add ARC for specific file?


Add the flag -fobjc-arc to the files that you'd like to use ARC. It's just the opposite of the other.


You add compiler flags in Targets -> Build Phases -> Compile Sources

Compile source show all file that project contain.so please add -fobjc-arc to compiler flag by double clicking on it as show in below image.

enter image description here


matomo