Xcode Product -> Archive disabled
You've changed your scheme destination to a simulator instead of "iOS Device". That's why it is greyed out.
You've changed your scheme destination to a simulator instead of "iOS Device". That's why it is greyed out.