title: A valid provisioning profile for this executable was not found IOS 12 but launches still in IOS 11, xcode 10
body: <p>this is driving me insane. I updated my device to IOS 12, and my xcode to v10. when I try to test it, it gives me the error stated in the heading.</p>
  
  <p>then I inserted another device that uses ios 11 still, and in that device it launches with no problems.</p>
  
  <p>Image of error</p>
  
  <p><a href="https://i.stack.imgur.com/u8nC5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u8nC5.png" alt="enter image description here"></a></p>
  
  <p>please help guys. I have already tried deleting the everything from provisional Profiles and downloading manual profiles from xcode, it still gives me this error on ios 12.</p>