Successful Xcode 7.2 archives will not be displayed in the organizer, but will be displayed in the archives folder about the derivative data folder

I use Cocoapods 0.39.0 and Xcode 7.2 , I have a project that is successfully archived but not populated in the organizer . When I tested my file under an empty project, the archive appeared in Organizer just fine.

When I tried to fix this problem, I found that there was an Archives folder above Derived Data. There, I actually found all the project .xcarchive files that will not be displayed in Organizer.

Archive folder above source data

When I clicked on the file data, I also noticed that the working Archive had a size (228.3 MB for a test project), but my main project that I want was 0 bytes in size.

Test project Main project

+6
source share
4 answers

Figured it out.

  • Search Installation Directory in Build Settings
  • Removed @executable_path/../Frameworks as value for installation directory
  • Enter the following in the installation directory $(LOCAL_APPS_DIR) :

Link: "Xcode successfully archived my application, but the archive section does not contain a section of my archive https://developer.apple.com/library/ios/technotes/tn2215/_index.html

+9
source

In Xcode Project \ Targets \ Build Settings, make sure

Skip installation = NO

for your archive scheme, if you created it, or a release scheme

+2
source

I had the same problem when I created a debug build pointing to our QA environment. The debug build was just a null byte. As @kareem mentioned above, I believe that the release / distribution build has a path like / Applications .

I just duplicated my debug and bingo build !!! Yes, you can add / Application instead of the current value, which was ' @executable_path /../ Frameworks '

That way, if you archive your debug build, you will have the actual archive, as for release build

All loans go to kareem. I'm just trying to improve by adding another option.

0
source

In my case (Xcode 8.3.3), the Installation Directory pointing to /Applications , which seemed correct, so this is not a problem. What happened:
1. restart Xcode
2. Product ➞ Clean
3. Delete the entire Derivative Data folder (to see where it is located: Xcode ➞ Settings ... ➞ Location ➞ Derivative Data)
4. Product ➞ Cleanliness

0
source

All Articles