My Xcode Archive button is grayed out. Thats Xcode - Product - Archive is grayed out; I need to Archive before I can upload my App to the App Store. I can Archive other Apps but not the one I need to upload. Any Suggestions?
Remember, you can't archive if:
- a simulator is selected instead of a device*
- there is an error when building*
- you haven't finished the 'Prepare for Submission’ stage for that app in iTunes Connect
- you've recently renewed your (required) apple developer account, and not yet updated the provisions to reflect that activity
* You must have at least one device registered in the Member Center, but it doesn’t have to be connected to your Mac/Xcode when building, in which case select ‘generic iOS/tvOS device'
- - - If this is just about testing to a device and you're getting a message that Xcode can't archive, try deleting all older versions of that app on the target device first
Also see TN2215: Why is the Archive menu item grayed out in Xcode ?