disable ARC for a single file


 

First, open up your project and select the Xcode project file in your files list

Secondly, in the inner part of the Xcode window, click Build Phases

Next, you will see a collapsible tab called ‘Compile Sources’, click that to show the list of files and then find the file you wish to disable.

Lastly, once you find the file, click enter and type:

-fno-objc-arc

into the dialog box that appears

Click enter and then you are done. I hope you found that usefu

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: