title: Xcode Failed to create a provisioning profile
body: <p>I have an <code>iOS</code> app I am trying to develop and test in <code>Xcode</code>. However, I get the error below.  I do not have a physical Apple device, but would like to test this on an <code>iOS Simulator</code>. I thought this should launch a Simulator if I press the <strong>play</strong> button, as I have selected <code>iPhone 6s Plus</code> for example, but it just says "Build Succeeded" and does nothing.</p>
  
  <p><strong>Question</strong></p>
  
  <p>How do I resolve the errors below, and test the app on a Simulator?</p>
  
  <p>Thanks</p>
  
  <p><a href="https://i.stack.imgur.com/5uxzH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5uxzH.png" alt="enter image description here"></a></p>
  
  <p>and</p>
  
  <p><a href="https://i.stack.imgur.com/fFno6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fFno6.png" alt="enter image description here"></a></p>