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 found the easy way to do it:

1. change inside podfile project name.
2. pod install
3. open generated file xcworkspace
reload red files

Done!
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.