Xcode compiles my App, but can't run it in the simulator

后端 未结 20 1334
一向
一向 2020-12-05 01:59

when i compile my app, Xcode just says \"Attaching to Projectname...\" and gets stuck there. The debugger just prints this out:

error: failed to attac

20条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-05 02:12

    What finally got the simulator working again for me was deleting everything under Library/Application Support/iPhone Simulator/ within the user directory. What I think caused the problem for me in the first place was trying to use a directory named 'Resources' as described here: https://stackoverflow.com/a/1265168/649

提交回复
热议问题