Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode4 - Build for Archiving greyed out [duplicate]

Possible Duplicate:
Xcode 4 - “Archive” is greyed out?

I want to submit my iOS App via Xcode 4. The problem is that I cant do the Build for Archiving. Its Inactive and Gray (the Menu Item Product->Build For->Build For Archiving) and i dont know why.

Anybody an Idea?

like image 985
Hernd DerBeld Avatar asked Mar 29 '11 09:03

Hernd DerBeld


People also ask

Why is archive grayed out xcode?

You can not archive, because from target you have not selected device or Generic iOS device or Any iOS Device , still there is a simulator.

Why can't I archive in Xcode?

Archive menu option grayed out If you can't create an archive in Xcode, usually it's because you have the destination set to the simulator.

How do I create an archive build in Xcode?

Navigate to your project's settings. Under iOS (or the target you want to build your app for) > Identity, you'll want to increment the Build number. For example, if the Build number was 1, you'll want to set it to 2. Then, in the top menu, under Product, click on Archive.

Where is archive in Xcode 13?

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


1 Answers

In the scheme drop down you have to choose an actual device, not one of the simulators.

like image 200
Walter Avatar answered Oct 04 '22 03:10

Walter