Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7.2 successful archives will not show in organizer, but will show in archives folder about derived data folder

I am using Cocoapods 0.39.0 and Xcode 7.2, I have a project that archives successfully but does not populate in organizer. When I tested my podfile in a blank project the archive showed up in the Organizer just fine.

While trying to troubleshoot this I found that there was an Archives folder above Derived Data. There I actually found all the .xcarchive files of the project that won't show up in the Organizer.

Archive Folder Above Derived Data

When clicking on the file details, I also noticed that the working Archive had a size (228.3 MB for the test project) but my main project I want working has a size of 0 bytes.

Test Project Main Project

like image 380
kareem Avatar asked Dec 23 '15 10:12

kareem


2 Answers

Figured it out.

  1. Searched Installation Directory in Build Settings
  2. Removed @executable_path/../Frameworks as the value for Installation Directory
  3. Typed the following for the Installation Directory $(LOCAL_APPS_DIR)

Reference: "Xcode successfully archived my application, but the Archives Organizer does not list my archive" section https://developer.apple.com/library/ios/technotes/tn2215/_index.html

like image 158
kareem Avatar answered Sep 19 '22 12:09

kareem


In XCode Project\Targets\Build Settings make sure

Skip Install = NO

for your Archive scheme, if you created one, or Release scheme

like image 34
Boris Gafurov Avatar answered Sep 21 '22 12:09

Boris Gafurov