美文网首页iOS学习
模拟器无法打开:The operation couldn’t b

模拟器无法打开:The operation couldn’t b

作者: GalaxyJM | 来源:发表于2016-12-28 16:27 被阅读217次

    1.问题描述:编译成功,但是模拟器打不开,提示信息如下

    The operation couldn’t be completed. (LSApplicationWorkspaceErrorDomain error...

    2.百度了几种方法,可能遇到的情况不同,我这边依旧无法跑起来,放一下网上的几种方法

    • 重启模拟器,点击IOS Simulator->Reset Content and Settings…->Reset,然后会重置模拟器,再编译代码可登录模拟器成功
    • 清理 Xcode, Xcode->Product->Clean
    • 将模拟器上的当前运行的app卸载,再重新加载
    • 在info.plist文件中修改bundle的版本号(此方法没试)

    后来突然想到,我有两个版本的xcode,是不是冲突了,于是我把xcode8.0删除后再次运行,成功了居然!

    相关文章

      网友评论

        本文标题:模拟器无法打开:The operation couldn’t b

        本文链接:https://www.haomeiwen.com/subject/cjbyvttx.html