2015-10-05 92 views
2

林试图运行在Xcode 7 IOS9 iphone 6的应用程序和迅速2.0,但我不能。 如果我重置的内容和仿真器设置,在第一时间工程,但第二个再次失败,我已经清理了的应用程序,我已经清理build文件夹中,我已经尝试设置NSAllowsArbitraryLoads关键是的,很抱歉,但我有头痛寻找正在发生的事情。欣赏帮助无法运行模拟器操作无法完成。 (LaunchServicesError错误0)

在coresimulator.log误差

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中的截图

enter image description here

+0

许多受骗者工作。请在发布问题前进行搜索。见http://stackoverflow.com/questions/25632886/an-error-was-encountered-while-running-domain-launchserviceserror-code-0/26129829#26129829 –

+0

很抱歉,但我想这个线程的所有方式错误依然存在 – Edu

+0

然后请更新您的问题,以包括潜在的错误。正如我在上面提到的答案中所指出的那样,“LaunchServicesError 0”只是表示出了问题。它并不表示*出了什么问题。您需要将这些信息从CoreSimulator.log和设备的system.log中提取出来。 –

回答

5

从截图,很明显,你的Info.plist缺少CFBundleVersion(“Bundle Version”)键。如果该密钥丢失,可能会导致此问题。

+0

“Bundle Version string,short”和“Bundle Version”有什么区别? –

+1

查看关键的文档:https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html --- CFBundleShortVersionString是可本地化的,而不是限制性的。 CFBundleVersion需要遵循严格的版本规范。 –

0

基于错误的描述 错误= PackagePatchFailed, ErrorDescription中=无法复制固网我们 会说编译器无法找到资源的路径,例如框架,图像。但主要问题可能是Pod。因此,尝试通过以下步骤

  1. 命令移摹
  2. 粘贴此路径删除所有缓存的文件/库/开发商/ Xcode中/ DerivedData
  3. 删除相关发现者
  4. 重置内容和设置模拟器
  5. 重新编译项目

干杯

-1

让该例外运输安全的“NSAllowsArbitraryLoads”

+0

问题中描述的错误是编译时错误。 NSAllowsArbitraryLoads的问题只能与运行时问题相关 –

0

一起改变整个项目的根目录路径似乎以某种方式对我来说

相关问题