Tuesday, 29 April 2014

Disable ARC for Single file in Project

it is possible to Disable ARC for individual files by adding the  -fno-objc-arc  compiler flags for those files.

To add Compiler flags go to Targets -> Build Phases -> Compile Sources. you have to double click on right column of the row under Compiler Flags. you can also add it to multiple files by holding the cmd button to select the files and then pressing enter to bring up the flag edit box.







Thanks & Regards
Mohit Popat
                                                                                                                                                                            

No comments:

Post a Comment

Note: only a member of this blog may post a comment.