iOS修改项目名称(同时适用xcode8)
2016-11-06 本文已影响1528人
思念那年慕云
xxx:代表你的项目名称
1,修改项目文件夹的名称和Tests文件名。

2,右击你的项目(xxx.xcodeproj),选中显示包内容,

3,然后右击project.pbxproj,以文本方式打开,搜索之前的项目名(cmd+f),全部替换成新项目名(option+cmd+f),保存(cmd+s)。

4,进入项目,直接回车修改项目名,然后回车确认,弹出下图,全选,Rename.
注意:使用cocoapods需要从项目名.xcworkspace进入修改

5,继续修改。


6,修改xxxTests.m文件的名称
注意要手动修改xxxTests.m中的类名

7,xcode8这里还需要进行操作。
