Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 10.1 doesn't show 'distribute app' option when archiving, can't archive

I suddenly got this weird issue with Xcode 10.1.

When I archive app store target for my app I cant see "distribute app" option, instead it now says "Distribute Content" and neither I can export ipa nor upload to app store directly.

My archive comes under "Other items" in Organizer instead of iOS apps.

It seems to work fine with development target though.

Here is the screen shot.

enter image description here Anyone with any knowledge about it please help.

Thanks

like image 775
Paras Gorasiya Avatar asked Apr 02 '19 05:04

Paras Gorasiya


People also ask

Why I can't archive in Xcode?

Archive menu option grayed out If you can't create an archive in Xcode, usually it's because you have the destination set to the simulator. Switch to an iOS device (it should work even if you don't have one connected). Another cause for the grayed-out archive option is that it's disabled for your scheme.

How do I archive applications in Xcode?

Archive your App In Xcode with your project open, select the simulator (button near the top of the window next to your project name, typically named as a specific type of iPhone) – change it to Generic iOS Device. Open the Product menu and choose Archive. You will see the archive information. Click Validate App.

How do I upload to app store archive?

Choose Product from the top menu and click on Archive. The Xcode Organizer will launch, displaying any archives you've created in the past. Make sure the current build is selected and click on Upload to App Store in the right-hand panel. Select your credentials and click Choose.


1 Answers

Please make changes as follows

  • Change Skip install to NO

Make sure only the Application has this set to NO. Embedded Targets like Frameworks need to have Skip Install = YES

like image 114
Oshitha Wimalasuriya Avatar answered Nov 03 '22 22:11

Oshitha Wimalasuriya