Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Submit and Validade button disabled on archive

i'm trying to create my archive to send my app to the store but the "validate" button and "submit to app store" are disabled.

What i'm doing wrong?

enter image description here

package content enter image description here

target: enter image description here

like image 948
marchiore Avatar asked Sep 03 '15 02:09

marchiore


People also ask

Why is archive not enabled in Xcode?

You've changed your scheme destination to a simulator instead of Generic iOS Device. That's why it is greyed out.

Where is archive option in Xcode?

Open the Archives folder in Finder: Library > Developer > Xcode > Archives.

How do I archive in Xcode 13?

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 add developer account to Xcode?

From within Xcode 8. x or higher (Mac only), navigate to “Xcode—->Preferences—->Accounts.” Hit the '+' icon below left to add your Apple ID*. After you add and select your account, it will show within the main account window on the right under 'Team' as '<YourName> (Personal Team)' w/role 'User'.


2 Answers

i've solved the problem using it:

"I found the Installation Directory build setting and noticed it was set to a custom path in my project. I simply deleted it (setting it to its generic value of /Applications) and the next Build -> Archive I did worked as expected and gave me a proper iOS App Archive."

source: Cannot generate iOS App archive in xcode

like image 160
marchiore Avatar answered Oct 12 '22 11:10

marchiore


The type of your archive Generic Xcode Archiveis incorrect.

To debug :

  1. Try opening it (right Click > Show In finder > Right Click > Show package content...) to see what is in there appart from your app
  2. Look in your project Build Phases what are the Target Dependencies

I might be able to help more with this information

like image 40
Nicolas Braun Avatar answered Oct 12 '22 11:10

Nicolas Braun