Xcode 11 crashing on iPhone 13.1 app running

前端 未结 5 397
难免孤独
难免孤独 2020-12-15 16:58

I updated Xcode today (Xcode 11.0), and now it crashes every time I try running any project on my iPhone (iOS 13.1).

Already tried:

  • Cleaning derived da
相关标签:
5条回答
  • 2020-12-15 17:44

    So, I found that inside this folder:

    ~/Library/Developer/Xcode/iOS DeviceSupport
    

    Xcode creates cache folders for all the physical devices symbols it paired.

    This folder remains even if you uninstall Xcode, and the cache is reused even when you install other versions of the software.

    Deleting the folders content made Xcode download the symbols again, run prepare debug support for the device phase and reset the device connection, solving the problem.

    0 讨论(0)
  • 2020-12-15 17:45

    I was having the same crash on XCode 11.3 . I went on to "Show package contents" (right click on) of the ".xcworkspace" workspace directory and deleted "xcuserdata" folder. This resolved the crash for me.

    0 讨论(0)
  • 2020-12-15 17:57

    1.Go to Project Folder

    2.Right-click on xcodeproj

    3.Click Show package Content

    4.Delete xcuserdata directory

    0 讨论(0)
  • 2020-12-15 17:58

    According to @alxlives 'Deleting the folders content made Xcode download the symbols again, run prepare debug support for the device phase and reset the device connection, solving the problem.' This solution solved the problem for me. Here is a terminal command to remove all contents inside of the folder.

    rm -r ~/Library/Developer/Xcode/iOS\ DeviceSupport/
    

    This commands remove all files that are located inside of the Device Support folderl.

    0 讨论(0)
  • 2020-12-15 18:00

    I was having this issue with Xcode 11.1 and an iPhone XR running iOS 13.2.3 (iPad running that OS version was fine). The accepted answer didn't work for me. Upgrading to Xcode 11.2.1 fixed it.

    0 讨论(0)
提交回复
热议问题