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?
package content
target:
You've changed your scheme destination to a simulator instead of Generic iOS Device. That's why it is greyed out.
Open the Archives folder in Finder: Library > Developer > Xcode > Archives.
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.
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'.
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
The type of your archive Generic Xcode Archive
is incorrect.
To debug :
I might be able to help more with this information
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With