Xcode iOS Distribution Creates Archive Successfully, But Archives Are Empty - Why?

OK I had to distribute the iOS application and read readoverflow ( especially this post ) and keep an eye on the apples

I have Xcode 6.3.1 installed with an iOS developer and distribution certificate - my Xcode settings look like this:

Xcode account preferences

I connected to a real device and can do Xcode > Product > Archive , which is successfully archived:

Archive successful

Perfect allows you to go to Xcode > Organizer > Archives and download the application:

Organizer> Archives is empty

But the Archives are empty:

No archives Use the Archive command in an Xcode project or import an archive from the Xcode server bot.

Thats weird because the archive said it was created successfully and its smooth archive for

 /Users/<my user>/Library/Developer/Xcode/Archives/2015-05-20/MyApp 20-05-15 17.09.xcarchive $ tree -L 1 <archive> ├── Products │  └── Applications └── dSYMs ├── BrightFutures.framework.dSYM ├── MyApp.app.dSYM └── Typhoon.framework.dSYM 

OK allows you to open the xcarchive file directly, but this calls:

 The archive could not be installed. The archive may be corrupt or unreadable 

Why? and how to solve it?

Update 1

I got the archive assembly:

  • removing and adding all my cocapodes and starting pods install again (there is some discussion about problems with coordinating the error I also accidentally, but did not include in my original question to keep the post as thin as possible).
  • adding Images.xcassets to my xcode project, it turned out to be an old xcode project with such assets.

But it is still not a real solution.

+6
source share
1 answer

You can try to disconnect the device and create an archive with the "iOS device" selected as the assembly scheme.

0
source

Source: https://habr.com/ru/post/987588/


All Articles