0

I have an XCode Project(iOS App for only iPhones) and I want to use same codebase for publishing different application. I have to change icon, name and design for this second application. Therefore, I did not use Localization.

Also in codebase, I need some variables to hold different keywords for different targets.

Is there any way to do it or I have to clone same project and change this files after?

Thanks.

Mahmut Acar
  • 713
  • 2
  • 7
  • 26

2 Answers2

1

Take a look at this question.

StackOverFlow Question

You will have to convert the code to swift but this gives you the basics to get started.

Nol4635
  • 631
  • 1
  • 14
  • 24
1

One workspace, two app targets, one set of code files.

Alternatively, use a framework. In that case it might be one workspace and two complete Xcode projects plus the framework.

matt
  • 515,959
  • 87
  • 875
  • 1,141