Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Xcode store archived frameworks?

I created an Xcode project with the "Cocoa Framework" template. When I archive it, it isn't visible in the Organizer.

Where are the archives stored?

like image 453
ATLief Avatar asked May 08 '16 21:05

ATLief


2 Answers

Instead of setting custom locations or messing with Xcode's preferences, you could just include a Copy Files Build Phase that should add the archived Framework properly into Organizer.

enter image description here

Using an Absolute Path with the variable$(BUILD_DIR)seems to work fine. You should then find any archives in XCode's Organizer or in:

~/Library/Developer/Xcode/Archives

like image 168
l'L'l Avatar answered Oct 28 '22 04:10

l'L'l


From Apple ( to view or change archive location ):

  • Choose Xcode > Preferences, and click Locations.

  • Choose Custom from the Archives pop-up menu.

  • Click the folder icon in the text field, and choose a location.

When you go on Xcode Preference :

Archive location : /Users/YourName/Library/Developer/Xcode/Archives

like image 30
ewan Avatar answered Oct 28 '22 03:10

ewan