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:
- Copy the whole folder of that project and rename the folder to whatever new name you want.
- 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.