title: Xcode 10: A valid provisioning profile for this executable was not found
body: <p>Since yesterday I've been getting the following error when trying run an app on my device:</p>
  <blockquote>
  <p>A valid provisioning profile for this executable was not found.&quot;</p>
  </blockquote>
  <p>This is after updating to Xcode 10. Building with Xcode 9 last week worked without issues. I've checked the other discussions about the error, but none of the solutions works.</p>
  <p>The issue isn't limited to a single project I've been working on as it affects several all from different signing teams.</p>
  <p>So far I've tried the following:</p>
  <ul>
  <li><p>Cleaning project</p>
  </li>
  <li><p>Cleaning derived data</p>
  </li>
  <li><p>Uninstalling Xcode, deleting any preferences and files related to it.</p>
  </li>
  <li><p>Installing Xcode on a completely different Mac</p>
  </li>
  <li><p>Testing with different devices</p>
  </li>
  <li><p>Disabling device in developer profile and letting Xcode enable it again.</p>
  </li>
  <li><p>Deleting all certificates in the developer portal and recreating them</p>
  </li>
  <li><p>Unchecking and rechecking &quot;Automatically manage signing&quot;</p>
  </li>
  <li><p>Trashing the provisioning profile and letting Xcode recreate it</p>
  </li>
  <li><p>Creating a manual provisioning profile in the developer profile</p>
  </li>
  </ul>
  <p>The project contains no tests so there can't be a problem with wrong signing settings on that target. Date / Time is set to Automatic</p>
  <p>One thing of note is that no Provisioning Profiles are listed here, except for the manual one I created: <a href="https://developer.apple.com/account/ios/profile/" rel="noreferrer">https://developer.apple.com/account/ios/profile/</a></p>
  <p>I'd expect the xcode generated one to show up as they do for all other clients.</p>
  <p>Below are the signing settings I'm currently using</p>
  <p><a href="https://i.stack.imgur.com/vKsC8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vKsC8.png" alt="provisioning profile settings" /></a></p>
  <p>I've yet to try downgrading Xcode to an older version to see if that works. Other than that I have no idea of what to try next.</p>