Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 4: Archive is using old project name

Tags:

I have renamed my project successfully.

However, when I create an archive (I'm ready to upload it to the store), Organizer is showing the archive named with the OLD project name.

In fact I have renamed this project twice! And it is showing the original name.

I don't know if this is going to trip me up, but it is annoying. Where is this name determined?

In my info.plist everything is using the default values, and in my target's build settings Product Name is correctly set.

I can't see anywhere else this old name might be lurking. Cleaning the project and restarting Xcode doesn't do a thing.

How can I correct this?

PS XCode 4.0.2

like image 257
P i Avatar asked Sep 18 '11 10:09

P i


People also ask

How do I change the archive name in Xcode?

Go to Product -> Scheme -> Edit Scheme in the list on the left select Archive and you will get a form with text box Archive Name where you can make your change. This works for Xcode 4.6 + for sure.

How do I archive a project in Xcode?

Archive your App In Xcode with your project open, select the simulator (button near the top of the window next to your project name, typically named as a specific type of iPhone) – change it to Generic iOS Device. Open the Product menu and choose Archive. You will see the archive information. Click Validate App.

How do I change the project name and target name in Xcode?

Select the project from the project navigator to open the project editor and see a list of the app's targets. To rename a target, select it, press the Return key, and enter the new name. If all you want to do is rename the app, you're finished.

Where is Xcode archive folder?

Archive Organizer Path: The archives are stored in /Users/username/Library/Developer/Xcode/Archives/$DATE/Project Name Datetime.


2 Answers

Go to Product -> Scheme -> Edit Scheme in the list on the left select Archive and you will get a form with text box Archive Name where you can make your change.

This works for Xcode 4.6 + for sure.

like image 104
Sihad Begovic Avatar answered Sep 23 '22 18:09

Sihad Begovic


EDIT: Out of date!

It seems that the scheme doesn't get renamed when the project gets renamed.

I guess this is one of the low priority things on the Xcode team's to do list...

Anyway, just needed to rename the scheme

like image 43
P i Avatar answered Sep 21 '22 18:09

P i