Search code examples
xcode4

Duplicanting XCode project gives me the old myproject.app


I have duplicated my project by copying and pasting the folders.

Then inside the project I renamed the project name so it pops a window asking to rename the target.

I've done this twice before with no problems, but this time, inside the Products folder the myproject.app file is still the old one.

The new one does not appear on my scheme options, so I don't know what else to do.

Xcode complains about an icon file that doesn't exist anymore.

Is there anyway to fix it; is there some other way to duplicate projects?


Solution

  • My solution for duplicating a project with XCode 4.2 is copying and pasting the project folder then opening the new one.

    Click once on the project name on the left (Project Navigator), then rename it.

    You will be prompted to rename whatever targets you have. Just click rename.

    Then on your target build settings change the Product Name property.