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?
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.
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.
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.
Archive Organizer Path: The archives are stored in /Users/username/Library/Developer/Xcode/Archives/$DATE/Project Name Datetime.
In the scheme drop down you have to choose an actual device, not one of the simulators.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With