Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<h2>Running App from a Clean Slate</h2> <p>For me the problem did not resolve until I did the following in this order:</p> <ol> <li><strong>Delete the app from the device</strong> <em>(Do this before trying to debug again)</em></li> <li><strong>Quit XCode</strong> <em>(Don't just close the project)</em></li> <li><strong>Delete the app build folder</strong> <em>(example path: /Users/myusername/Library/Developer/Xcode/DerivedData/MyProject-fhkaamuyvqhubaezinqbmxbnaufd/)</em></li> <li><strong>Restart XCode</strong></li> <li><strong>Finally -- Try debugging again on the iOS device</strong></li> </ol> <p>The app build folder of step 3 refers to your app's build folder that is a child of "DerivedData". To find this you can reveal your app in finder, then backtrack until you get to "DerivedData" folder and delete the folder above that like "MyApp-crazylongweirdletters". Without this step (3), I could not debug, so this is a critical step and you must quit XCode before you do this step. </p> <p>For some it appears simply restarting XCode does the trick, but not for me.</p> <p><em>I only post this answer because the earlier answers did NOT work for me.</em> Hopefully others banging their heads will find this and get a sigh of relief. :)</p> <h2>Notes:</h2> <ul> <li>The issue started happening for me when I modified the bundle id of the app.</li> <li>My code signing is and was correct. My provisioning profile was the "Team Provisioning Profile" which should work for any app id (default for "iPhone Developer" automatic profile selector).</li> <li>I was doing a DEBUG build (not release / distribution). </li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload