One reason the Archive button may be grayed out in Xcode is that you need to be connected to a device, and choose that device.
See here: http://stackoverflow.com/questions/16050640/xcode-product-archive-disabled/18791703#18791703
Dev Notebook
One reason the Archive button may be grayed out in Xcode is that you need to be connected to a device, and choose that device.
See here: http://stackoverflow.com/questions/16050640/xcode-product-archive-disabled/18791703#18791703