firstresponder
firstresponder

Reputation: 5100

Xcode configuration options for dependancies

I have an Xcode project with several static library dependancies set up in the Target's build options.

This means everytime I build the project, the dependancies also get built.

My question is, which configuration is chosen for the dependancies when they are built?

E.g. In my project, I select 'App Store' as the configuration to build against. In the Build Results tab, I can see that Xcode is building my dependancies with the 'App Store' configuration as well. The issue is that those dependancies do not have an 'App Store' configuration set up.

What then, is the config it is using?

Upvotes: 1

Views: 230

Answers (1)

smorgan
smorgan

Reputation: 21569

If there isn't a configuration with a matching name, it uses the default configuration for that project (see the bottom of the Configurations tab in the project settings window). For more details, see the Xcode docs on configurations.

You can verify that by looking at the build logs, and seeing what configuration is listed when it gets to building those target.

Upvotes: 2

Related Questions