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

后端 未结 20 1329
一向
一向 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:29

    Also make sure none of your file/group name collide with the projects default settings.

    Things started breaking for me when I added an info.plist file to my project (Bad Idea). Same happens when you add a "Resource" Group. I don't have an exhaustive list, but if someone does please do share.

    Cleaning out / Renaming these conflicting files and following the solution provided by Lindemann(https://stackoverflow.com/a/12504712/2069749) solved the problem for me.

提交回复
热议问题