Question: I'm trying to rename an XCode5 project that has an attached CocoaPods (Pods project).

(I've attached the CocoaPods using the following tutorial: <http://www.raywenderlich.com/12139/introduction-to-cocoapods>)

I've tried the standard renaming technique: <https://stackoverflow.com/a/19442868/173623>

But it breaks the build, since the rename only takes place for App project.

How can I accomplish this task?

Thank you.

Answer: 
I removed all cocoapods from my project with this GEM

<https://github.com/kylef/cocoapods-deintegrate>

then renamed my app in standard way and after fixing this issue with tests: 

<https://stackoverflow.com/a/27558736/1237542>

everything worked OK.
I had this issue and used Wassif's answer, however it didn't work until I also selected the new executable (.app) file in Products > Scheme > Edit Scheme > Info 

Also I couldn't find "Installing Your First Dependency" on CocoaPods.