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

来源:互联网 发布:免费手机卫星电视软件 编辑:程序博客网 时间:2024/05/17 08:08

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>

,希望遇到相同问题的小伙伴尽快解决。


1 0
原创粉丝点击