What is the right way to “save as” an iPad project

2019-09-06 05:12发布

问题:

I would like to build a new project based upon my existing. Since there are internal names that need to be changed to correspond with the project file names, I don't know the simple way to accomplish this without a mess.

回答1:

Here are steps I have done:

  1. Copy the whole folder of that project and rename the folder to whatever new name you want.
  2. Following the direction in the answer from this SO to change the "product name".

That is it.



回答2:

I would suggest you do NOT "save as" any project. Because to handle two copies of a same code is very very painful.

If you just want give your project a new name or make some new build settings, add a new "target" is good enough.

And if you want to use your existing project in another project, simply add it as a sub-project is a better way.

But just try to avoid to have many copies of one code, it's hard to maintain in the future.



标签: ios sdk