When I "Build for archive" in Xcode 4, where does the file go?

Darren Findlay picture Darren Findlay · Mar 26, 2011 · Viewed 25.1k times · Source

When I "Build for archive" in Xcode 4, where does the file go? As in, where on my computer is the archived app saved?

Thanks

Answer

pho0 picture pho0 · Mar 26, 2011

It depends on your build location goes (see Xcode > Preferences ... > Locations).

Note that "Build for Archive" doesn't archive your work in the "Archive Location" you enter there ... it just builds it as if it was being archived (so with the same pre/post-scripts being run, the right Configuration, and in your normal building location). To actually archive your work, you need to select plain old "Archive" instead of "Build for Archive".

Hope this helps.