Hilton Campbell
Hilton Campbell

Reputation: 6085

How can I reduce duplication across multiple Xcode targets?

I have an iOS app with multiple targets: Prod, Beta, Alpha. Each target has different icons, a different bundle ID, and different preprocessor macros.

Unfortunately, there's also a lot of duplication across the targets (URL schemes, build settings, etc.). It's a pain to have to make changes to this configuration in every target, and always worry that I missed a target.

Am I doing it wrong?

Upvotes: 1

Views: 85

Answers (1)

Hilton Campbell
Hilton Campbell

Reputation: 6085

I was indeed doing it wrong.

I ended up merging targets and creating a Beta configuration, in addition to the existing Debug and Release configurations.

Upvotes: 0

Related Questions