iPhone:更改XCode项目名称安全吗? [英] iPhone: Changing XCode project name is safe?
问题描述
我可以使用以下答案更改XCode项目名称: https://stackoverflow.com/a/4954029/709950
I could change XCode project name with the answer: https://stackoverflow.com/a/4954029/709950 .
项目文件(.xcodeproj)和目标名称已更改.
但是源文件夹名称和方案名称未更改.
Project file (.xcodeproj) and target name were changed.
But source folder name and scheme name doesn't changed.
我找到了自己更改方案名称的方法.
我找到了更改源文件夹名称的方法: https://stackoverflow.com/a/8344066/709950
I found the way to change scheme name by myself.
And I found the way to change source folder name on:
https://stackoverflow.com/a/8344066/709950
以上述方式更改项目名称是否安全?
我需要做些什么来完全更改项目名称吗?
还是创建新项目并将源文件复制到其中更安全,更干净?
Is it safe to change project name in the above way?
Are there anything I have to do to change project name completely?
Or is it safer and more clean to create new project and copy source files to it?
我发现重命名项目名称后,不再提交XCode的GIT.
I found that committing of GIT of XCode doesn't work anymore after renaming project name.
并发现了有关此问题的问题:
如何重命名xcode方案并保持Git提交正常工作?
And found a question about this problem:
How do I rename an xcode scheme and keep Git commit working?
但是这个问题所回答的解决方案太复杂了,我无法接受.
But the solution which is answered in that question is too complex for me to accept.
发生上述问题后,我尝试重新创建git存储库.
但是我无法重新创建.所以我问怎么做.
而且我得到了很好的答案.
iPhone:如何重新创建XCode内置git存储库?
推荐答案
如果要更改应用程序名称,只需更改项目名称.其余所有都无关紧要(放松一下文件夹名称和方案).
If you wanna change the application name, you just change the project name. All the rest is insignificant ( relax about the folder name and scheme ).
这篇关于iPhone:更改XCode项目名称安全吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!