Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I re-open .xcarchive on Xcode?

Is it possible to re-open an .xcarchive file on Xcode?

I know this is not common, but I would like to open a project exactly as it was submitted to the App Store. I don't have back up of that exact build, so it would be really great to open the archive copy!

Before you ask why don't I just download it from the store, I must say this build has been approved and is just pending on my release. :)

Thanks!

like image 395
tomDev Avatar asked Feb 19 '13 02:02

tomDev


People also ask

How do I open Xcarchive files on a Mac?

You can look inside a `xcarchive by control-clicking or right-clicking it in the Finder and choosing “Show Package Contents”. The archive does not contain your app's source code (unless you have made a serious mistake in your project configuration).

How do I open an archive window in Xcode?

Open the Archives folder in Finder: Library > Developer > Xcode > Archives.

Where are Xcode Archives stored?

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

What is an Xcarchive file?

What is an XCARCHIVE file? Application archive created by Xcode, Apple's development IDE for Mac OS X and iOS applications; stores all application files in a format that can be submitted to the App Store for review; contains a digital signature identifying the developer.


2 Answers

A xcarchive is a folder containing a (compiled) app bundle, a dSYM (debug file) for the app, and an Info.plist containing metadata about the archive (such as the name of the app and the date the archive was created). You can look inside a `xcarchive by control-clicking or right-clicking it in the Finder and choosing “Show Package Contents”.

The archive does not contain your app's source code (unless you have made a serious mistake in your project configuration).

You should use a version tracking system like git to store your source code. When you create an xcarchive for distribution, you should tag the current version of the source code in your build system, so that you can easily extract the source code used to build that archive.

like image 76
rob mayoff Avatar answered Sep 29 '22 21:09

rob mayoff


You can see contents of ProjectName [Date Time].xcarchive by right click on it and select Show Package Content.

It comprises of three things :

  1. dSYMs : dSYM files store the debug symbols for your app.

  2. Info.plist : property list containing details such as ApplicationProperties, ArchiveVersion, CreationDate, Name, Scheme.

  3. Products : This contains App file for your project.

Step 1

Step 2

like image 41
Jayprakash Dubey Avatar answered Sep 29 '22 21:09

Jayprakash Dubey