Xcode not creating distributable archive

Hi all, I'm using xcode 13.2.1. I go to Product>Archive. The app builds and creates an archive, but there's no data for "version, identifier, type, team, architecture, etc." It's just creating a "generic xcode archive."

When I go to "distribute content" it doesn't give the typical distribution methods like "App store Connect, Adhoc, Enterprise, or Development."

What am I doing wrong?

Thank you,

Thomas

Answered by DTS Engineer in 699109022

I’m presuming that you’re building an iOS app here. If not, let me know.

For the organiser to recognise an archive as an app archive it must contain exactly one item that’s your app. Try this:

  1. Select the archive in the organiser.

  2. Control click and choose Show in Finder.

  3. In the Finder, control click and choose Show Package Contents.

  4. Look in the Products directory. It should contain a single item called Applications. And that should contain a single item that is your app.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I’m presuming that you’re building an iOS app here. If not, let me know.

For the organiser to recognise an archive as an app archive it must contain exactly one item that’s your app. Try this:

  1. Select the archive in the organiser.

  2. Control click and choose Show in Finder.

  3. In the Finder, control click and choose Show Package Contents.

  4. Look in the Products directory. It should contain a single item called Applications. And that should contain a single item that is your app.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi Thomas! I'm unsure if you are still facing this issue and if you are building an app out of Flutter. In the case of the app my team is building using Flutter, we have been seeing a trend that whenever we make some changes to the code in android and iOS versions, the GoogleService-info.plist file gets corrupted. We need to download this file again from our Firebase dashboard and then replace the existing GoogleService-info.plist with a new one. That immediately solved issues at our end. My team is also using XCode 13.2.1 at the moment. Hope this is helpful!

Thanks,

Desi Rocket Scientist

Any updates here? We are building the iOS app in react native and this issue is still happening

Quinn, no the Applications folder contains the app and a file named appname.docarchive. Ok so this is wrong but what can i do to fix it?

I’m not sure how to order this relative to the other threads you reanimated with your question (here, here) but you can find general advice on this topic in TN3110 Resolving generic Xcode archive issue.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Xcode not creating distributable archive
 
 
Q