您的位置:首页 > 运维架构

The operation couldn’t be completed. (LaunchServicesError error 0.)问题

2016-05-16 11:33 253 查看
xcode运行项目的时候遇到  The operation couldn’t be completed. (LaunchServicesError error 0.)

后面打开 ~/Library/Logs/CoreSimulator/CoreSimulator.log

发现log日志

发现info.plist缺少CFBundleExecutable这个key

解决办法:

在info.plist里面添加

<key>CFBundleExecutable</key>

    <string>$(EXECUTABLE_NAME)</string>
,希望遇到相同问题的小伙伴尽快解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  iOS xcode