Xcode 7.1 always crashes while debugging

If I set a breakpoint and start debugging mode, Xcode tried to read the attributes, and then Xcode crashes. The position of the breakpoints in the source code is not affected. I tried the following steps: After Xcode crashes:

  • If the simulator still works, make sure that before closing it, select IOS Simulator → Reset Content And Settings.
  • Close Simulator (CMD-Q)
  • Window → Organizer → Delete Derived Data
  • When debugging on ANY devices, uninstall the application from the device and fully launch the device.
  • Launch Xcode
  • Delete all breakpoints
  • Product → (hold Alt / Option) Clear build folder
  • Product → Cleaning
  • Close Xcode again with Xcode-> Quit Xcode (NOTE: there must be a GRACEFUL Exit, so Xcode can correctly execute a full shutdown / clear cycle)
  • Reboot Mac
  • Run xcode
  • When running in the simulator, select a different device to simulate than when it failed.
  • Go through a trial run of your application (no breakpoints)
  • If all goes well, start adding breakpoints (all exceptions are always a good starting point).

But Xcode still crashes and crashes and ... I used Xcode 7.1 and Yosemite (I can't update El Capitan).

+5
source share
1 answer

In the Xcode build settings, there is Enable Clang Module Debugging disable it.

Hope this helps you!

0
source

Source: https://habr.com/ru/post/1235524/


All Articles