0

I'm working in a project for two different companies that has the exact same project, differing only visually, but sharing all the backend code.

Is it possible to create, let's say, a target with a different icon, environment variables, assets catalog, bundle ID, etc, and use the same base for both apps?

Or is it a better approach to create a framework and duplicate the projects, then use the frameworks?

jscs
64k13 gold badges155 silver badges200 bronze badges
asked Jan 5, 2018 at 13:12
3
  • Yes, it possible Commented Jan 5, 2018 at 13:15
  • With multi target Commented Jan 5, 2018 at 13:15
  • appcoda.com/using-xcode-targets Commented Jan 5, 2018 at 13:19

1 Answer 1

1

Create a target with different icon , bundle Id and same code is better as creating a framework will lead to a problem if you are using pods or other third party frameworks as with the second approcah nested frameworks are not allowed in ios apps

answered Jan 5, 2018 at 13:16
Sign up to request clarification or add additional context in comments.

1 Comment

I've seen the link that you provided. Thank you. It seems a little difficult in my case because, Icons are the same, but their colors differ from each other. I don't know if this is possible.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.