2018-07-11 Xcode "This app could not be installed at this time."

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容