JosephT
JosephT

Reputation: 865

Building iOS project with Xcode with different resource folder

I am building multiple app with the same source code but different resource folder. How can I configure this, such that profile A will use ResourceA folder. and profile B use ResourceB folder? I am thinking to make it more automatic way, instead of replacing the Resource folder each time of build.

Thanks

Upvotes: 0

Views: 53

Answers (2)

Shamsudheen TK
Shamsudheen TK

Reputation: 31339

You can choose the desired traget's while adding Resource folder via Add to Targets section.

Upvotes: 1

Paul.s
Paul.s

Reputation: 38728

When you drag the resource folder in to Xcode just make sure that only add it to the target that you want those resources for.

enter image description here

Upvotes: 3

Related Questions