开发者

Renaming XCodeProject gives error

I created a xcodeproject named ABC.xcodeproj and successfully build it. Later i have renamed it to XYZ.xcodeproj. Bt while building it shows error like this-

i686-apple-darwin9-gcc-4.2.1: /Volumes/Partition 开发者_开发知识库2/Client/ABC/ABC_Prefix.pch: No such file or directory

i686-apple-darwin9-gcc-4.2.1: warning: '-x objective-c-header' after last input file has no effect

i686-apple-darwin9-gcc-4.2.1: no input files

I have renamed target, product, executable and also pch file to XYZ. I also checked double by renaming XYZ_Prefix.pch to ABC_Prefix.pch, but no success.

Thanks for any help.


If you renamed the project simply in the filesystem then you did it wrong, rename it again to the original name and open it in XCode, then go to Project -> Rename... and it will correctly rename your project for you (including all the related files).

If your XCode doesn't have this rename function, maybe you can try the old way of manually renaming files and contents, maybe this link will help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜