Lost connection to “iPad 2”

后端 未结 1 1935
离开以前
离开以前 2021-01-19 12:15

I have stopped all simulator processes but still getting below error.

Restore the connection to \"iPad 2\" and run \"APPNAME\" again, or if \"APPNAME\" is still runn

相关标签:
1条回答
  • 2021-01-19 12:58

    This happens when you have 2 projects open in XCode you want to debug at same time.

    To reproduce the problem:

    1. Launch a program in debug on the i(whatever) device
    2. Go to another (dependency) project and select Debug -> attach to process -> process launched at 1.

    To avoid the problem:

    1. Launch the main process straight from the device
    2. Go to the dependency project and select Debug -> attach to process -> process launched at 1.
    0 讨论(0)
提交回复
热议问题