Q:

xcode archive disabled

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. 
1
Change the active scheme Device from Simulator to Generic IOS Device
1

New to Communities?

Join the community