title: Code signing error in Xcode 8
body: <p>I want to run my app on my device instead of on the simulator, but every time I try to run it, I get a code signing error:</p>
  
  <ul>
  <li>'AppName' requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor.</li>
  <li>Code signing is required for product type 'Application' in SDK 'iOS 10.0'</li>
  </ul>
  
  <p>I added a provisioning profile to the build settings under 'Code signing' but I still keep getting this error. Is there something wrong with my provisioning profile or am I looking in the wrong place? By the way, I used this provisioning profile on the previous version of Xcode and never ran into any problems.</p>