title: .xcworkspace doesn't have Archive option enabled
body: <p>I have project for which I had no problems with archiving in Xcode. The "Archive" option worked just fine under the "Product" menu. 
  But after I installed a framework with Cocoapods and started working with the .xcworkspace instead of the .xcodeproj , I noticed that the "Archive" option in grayed out in the .xcworkspace, but not in the .xcodeproj.
  So any idea, why this is happening? </p>
  
  <p>Here is a screenshot of the "Product Menu", it shows the Archive option grayed out</p>
  
  <p><a href="https://i.stack.imgur.com/IKNtY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IKNtY.png" alt="enter image description here"></a>
  thanks</p>
  
  <p>-Malena</p>