Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4 archive not showing up in Organizer [duplicate]

Possible Duplicate:
Archives not showing up in Organizer for XCode 4

When I go to archive my app, everything builds without error, but the archive doesnt show up in the Organizer, and the .xcarchive file is 0 bytes.

I've looked at solutions all over the web and on here, including this one, this one, this one, setting 'Skip Install' flags to YES/NO in all areas for all build types, cleaning, deleting/readding my Entitlements.plist file, with NO LUCK.

Does anyone know of anything else I can try?

like image 545
barfoon Avatar asked Nov 29 '11 04:11

barfoon


People also ask

Why archive option is not showing in Xcode?

Why is the Archive menu item grayed out in Xcode ? <Project name> does not contain a single–bundle application or contains multiple products. Please select another archive, or adjust your scheme to create a single–bundle application.

Where do Xcode archives go?

Xcode created your archive. The actual . xcarchive folder resides on your Mac in ~/Library/Developer/Xcode/Archives.

How do I import an archive into Xcode?

Importing into XcodeOpen Xcode and select Open Another Project or File, Open. Open the folder you unzipped from your Dropsource download and locate the file with “. xcodeproj” extension in the root directory. Select the file and click Open.

How do I archive items in Xcode?

Start your archiveNavigate 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.


2 Answers

Verify that the 'Installation Directory' is set for your application target. Installation seems to be skipped if this is left empty, regardless of the 'Skip Install' flag.

like image 136
Adam Hilss Avatar answered Sep 23 '22 02:09

Adam Hilss


Are you using the menu item, "Product" -> "Build For" -> "Build for Archiving"? I was doing that the first time I tried to make an Archive, but it doesn't create it. Using just "Product" -> "Archive" did the job for me.

like image 22
Luiz Carlos Querino Filho Avatar answered Sep 20 '22 02:09

Luiz Carlos Querino Filho