Xcode bug 编译不报错, 运行时出现"This app could not be installed at this time."的信息:

image.png
解决方案1:
可打开~/Library/Logs/CoreSimulator/ 路径下的文件: CoreSimulator.log
查看对应错误信息:

image.png
错误信息: "无对应文件"!
可通过右键Products中的.app文件,show in finder

image.png
删掉对应的运行过数据:

image.png
重新运行即可.
解决方案2
Reset the simulator(重启模拟器):
Hardware -> Erase All Content and Settings...

image.png
Clean your project:
shift+cmd+K
shift+opt+cmd+K
This should fix the issue.
完成。
参考:
https://stackoverflow.com/questions/47760643/xcode-this-app-could-not-be-installed-at-this-time