问题
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!
回答1:
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.
回答2:
You can see contents of ProjectName [Date Time].xcarchive by right click on it and select Show Package Content.
It comprises of three things :
dSYMs : dSYM files store the debug symbols for your app.
Info.plist : property list containing details such as ApplicationProperties, ArchiveVersion, CreationDate, Name, Scheme.
Products : This contains App file for your project.
来源:https://stackoverflow.com/questions/14949043/can-i-re-open-xcarchive-on-xcode