Could not attach to pid : “####” unable to attach [duplicate]

最后都变了- 提交于 2019-11-29 03:02:44
Himanshu

Resetting the content and settings in the simulator worked for me. This is available on the iOS Simulator: Hardware -> Erase all Content and Settings

Kill the simulator, then re-build.

  1. I closed Xcode.
  2. On the simulator menu: go to Hardware -> Erase all content and settings.

  3. Open Xcode then build and run the application.

The above simple steps worked for me.

In my case Xcode 8.0 after this error,just rebuild again project it solves this problem.

There is no need for reset app content in iPhone device.

  1. Close Xcode & simulator
  2. Reopen Xcode & rebuild

Above steps worked for me.

Clean the project,quit the simulator and then rebuild the app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!