flying_tonite
flying_tonite

Reputation: 81

Xcode 8 - Why do Project & Target settings have the option of different deployment target versions?

Xcode 8.3.2 Here are the screenshots from the same test project.

  1. Select "Project" you can choose the deployment target IOS version

Project screenshot 2. Select "Target" you get another choice of deployment target version

Target Screenshot I am probably missing something, but I don't understand the benefit of the 2 separate choices!
(I have shown them as different here, but in my real project I always set them the same).

Upvotes: 2

Views: 403

Answers (1)

rmaddy
rmaddy

Reputation: 318934

A project can have multiple targets. It's possible that some of the targets could have a older or newer Deployment Target than the rest of the targets.

The project-level lets you set the most common Deployment Target used by most targets. You can then adjust a specific target to have a different Deployment Target if needed.

When you only have one target, it doesn't matter which you change, the project or the target.

Upvotes: 2

Related Questions