title: Swift Framework build fails for device but not for simulator
body: <p>Any ideas why a build would succeed for simulator but not a device?</p>
  
  <p>I created a Cocoa framework and was able to add it to a new single-page application project, and call the methods defined in the framework.  The project built as long as I had a simulator selected as the build target and not a device.  I have not tried running it, only building.  I'm using Swift 3 and XCode 8.1.</p>
  
  <p>I get <code>Use of unresolved identifier</code> errors.</p>