iPhone: Failed to launch simulated application: Unknown error

后端 未结 17 763
暗喜
暗喜 2020-12-17 01:30

This is a new iPhone project, only 1 target (different from this question)

On build we get:

Failed to launch simulated application: Unknown error.
         


        
17条回答
  •  南方客
    南方客 (楼主)
    2020-12-17 02:15

    I've had this twice for the same reason: adding a folder called Resources to the project. This is a naming conflict with something (though there is nothing called "Resources" in the application bundle by default). It might be that mysterious naming conflicts are a common cause of this problem.

    To fix I renamed the folder to something else ("Assets"), manually deleted the entire build folder (clean didn't work) and quit the simulator.

提交回复
热议问题