Lost Connection to “iPhone”

后端 未结 2 921
忘了有多久
忘了有多久 2020-12-22 01:06

When i am trying to run application in the real device getting this error

Restore the connection to “iPhone” and run “My App” again, or if “My App” is still

相关标签:
2条回答
  • 2020-12-22 01:58

    This could be a memory issue if you have images of very high resolution. Check the memory usage of the device in Xcode Debug Navigator.

    To debug if it is because of images

    • Try using no images or disable image loading in the code and check if the problem still persists

    If it is because of high memory allocation you might have to resize the images.

    0 讨论(0)
  • 2020-12-22 02:05

    In Xcode Menu select Debug => Attach to process => Select iOS Simulator

    IT works for me :) or you can quit xcode and restart again

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