在开发过程中,在往模拟器部署的时候,程序启动后又突然自动关闭。

报以下错误:

Image not found

系统并提示:status 5 errror

查看所有的IMAGE文件,均存放正常。因为没有动过任何代码,所以可以确定不是代码问题。

 

运行”Build –> Clean All Targets”,还是不行。

最后只能进入模拟器程序的安装目录:~\library\Application Support\iPhone Simulator\Applications\

清除该目录里的所有子目录(模拟器上已安装的程序)

再次启动,程序正常运行。

相关文章:

  • 2021-12-16
  • 2021-05-09
  • 2022-02-06
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2021-12-09
  • 2021-09-09
猜你喜欢
  • 2021-08-11
  • 2021-09-19
  • 2021-04-27
相关资源
相似解决方案