34

I recently downloaded Xcode 5, and it's now my primary IDE. However, I now need to disable Automatic Reference Counting for a single file in my project.

In Xcode 4, I went to the Build Phases tab under my target, and I could double click the on the right side of a row in the Compile Sources section, add -fno-objc-arc to the list of compiler flags, and be off.

In 5, however, the column seems to be unclickable:

enter image description here

So, how do I do this?

4
  • 1
    try press enter Commented Sep 18, 2013 at 23:28
  • @xlc No luck there either Commented Sep 18, 2013 at 23:36
  • I had a little popup appear by selecting the file (so it is blue) and pressing enter. It also worked by double-clicking on the file name. Commented Sep 19, 2013 at 0:04
  • 1
    What exact version is this? I'm running Xcode 5A1413 (from the App Store) and double click works for me. It worked for the GM (5A1412) build as well Commented Sep 19, 2013 at 0:11

3 Answers 3

55

Well, I just tried and found that you must had dragged the window to a smaller width. You need to drag it back to show the Compiler Flag column:

Sign up to request clarification or add additional context in comments.

Comments

14

To fix the real issue rather than a GUI issue, select the file and press ENTER, then you can add the -fno-objc-arc compiler flag.

2 Comments

No luck with this approach either.
@Undo I just tested it and it worked fine with Xcode 5, maybe it's an issue with your version. That's all I can guess.
4

You appear to be missing the right-hand column. On my install it looks like this:

enter image description here

Notice the 'Compiler Flags' column to the right of the 'Name' column.

Double-clicking anywhere on the row allows me to type into the flags as long as that column is on screen. Making my window sufficiently thin causes it to be invisible so the first thing I'd try is making your window super-wide, to see whether you can get a flags column.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.