Berry Blue
Berry Blue

Reputation: 16482

Preprocessor Macros in Xcode 7.3 for targets

If I create a new project in Xcode 7.3 the "Preprocessor Macros" setting only appears for the project. It doesn't appear in the build settings for any of the targets in my project.

How do you create a preprocessor macro for a target only in a project in Xcode 7.3?

Upvotes: 1

Views: 449

Answers (1)

shortstuffsushi
shortstuffsushi

Reputation: 2330

When you use the default view in Xcode (Basic), you only see a list of settings that are changed. When you create a new scheme, you have few (or no, can't remember) changed settings, and consequently wouldn't see the Preprocessor Macros region. Change your view to Advanced, and everything should become visible.

I think you can alternatively search the name directly, and that should pull it up too. I can't remember offhand, though, and I'm not at my Mac at the moment.

Upvotes: 2

Related Questions