无法运行模拟器该操作无法完成. (LaunchServicesError错误0.) [英] Unable to run the Simulator The operation couldn’t be completed. (LaunchServicesError error 0.)

查看:80
本文介绍了无法运行模拟器该操作无法完成. (LaunchServicesError错误0.)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Xcode 7和Swift 2.0中运行IOS9 iphone 6应用程序,但我做不到. 如果我重置内容和模拟器设置,则第一次可以,但是第二次又失败,我已经清理了应用程序,清理了构建文件夹,尝试将NSAllowsArbitraryLoads键设置为yes,抱歉,但是我有一个头疼地寻找正在发生的事情.感谢帮助

Im trying to run the IOS9 iphone 6 app in Xcode 7 and swift 2.0, but I can't. If I reset the content and Simulator settings, the first time works but the second one fails again, I have cleaned up the app, I have cleaned the build folder, I have tried setting the NSAllowsArbitraryLoads key to yes, Sorry, but I have a headache searching what's going on. Appreciate help

coresimulator.log中的错误是

the error in the coresimulator.log is

    07/10/15 21:51:02,800 com.apple.CoreSimulator.CoreSimulatorService[410]: 
Error Domain=LaunchServicesError Code=0 "(null)" 
UserInfo={Error=PackagePatchFailed, 
ErrorDescription=Could not hardlink copy
 /Users/edu/Library/Developer/CoreSimulator/Devices/F25180D1-32CD-47E0-9823-D1626546D660/data/Containers/Bundle/Application/7E6A0B88-3B33-435F-A645-3367B6F47154/vippler.app.ios.app 
to /Users/edu/Library/Developer/CoreSimulator/Devices/F25180D1-32CD-47E0-9823-D1626546D660/data/Library/Caches/com.apple.mobile.installd.staging/temp.LDNqVX/extracted/Payload/vippler.app.ios.app 
with manifest /Users/edu/Library/Developer/CoreSimulator/Devices/F25180D1-32CD-47E0-9823-D1626546D660/data/Library/Caches/com.apple.mobile.installd.staging/temp.LDNqVX/extracted/com.apple.deltainstallcommands.com.Bitamine.vippler-app-ios}

,而info.plist的屏幕截图为

and the screenshot of the info.plist is

推荐答案

从屏幕截图中可以很明显地看出,您的Info.plist缺少CFBundleVersion(捆绑版本")键.如果缺少该密钥,则可能导致此问题.

From the screenshot, it's clear that your Info.plist is missing a CFBundleVersion ("Bundle Version") key. If that key is missing, it can cause this problem.

这篇关于无法运行模拟器该操作无法完成. (LaunchServicesError错误0.)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆