title: App installation failed: Could not write to the device
body: <p>In Xcode 6.3, I got this error when trying to run an iOS project written in Swift on a real device.</p>
  
  <blockquote>
    <p><strong>App installation failed</strong></p>
    
    <p>could not write to the device.</p>
  </blockquote>
  
  <p>I tried to clean the project and run again, but the same error occurs. </p>
  
  <p>How can I fix this error?</p>