title: Xcode 7 GM created generic archive instead of iOS app archive
body: <p>I recently started using Xcode 7 GM.
  When I archive my project, I get a generic Xcode archive instead of an iOS archive.</p>
  
  <p>I'ved tried pretty much all the following:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/20369290/xcode-is-creating-generic-xcode-archive-instead-of-ios-app-archive">xcode is creating generic xcode archive instead of iOS App Archive</a></li>
  <li><a href="https://stackoverflow.com/questions/10715211/cannot-generate-ios-app-archive-in-xcode">Cannot generate iOS App archive in xcode</a></li>
  </ul>
  
  <p>I compared the contents of a previous successful archive and a different folder structure for some components:  </p>
  
  <ul>
  <li>Swift libraries are inside a sub folder  </li>
  <li>The app extension is outside of the .app package  </li>
  <li>The info.plist is missing keys</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/dArYn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dArYn.png" alt="enter image description here"></a></p>
  
  <p>Has anyone else encountering this problem? If so, did you solve and how?</p>
  
  <h3>Edit</h3>
  
  <p>We are using Cocoapods 0.38.2</p>