无法在Simulator中运行应用程序:Domain = LaunchServicesError,Code = 0

时间:2016-03-06 16:32:03

标签: ios iphone xcode

info.plist我在启动模拟器时遇到问题,我收到错误代码,说明操作无法完成。

以下是我从控制台收到的错误代码: 我已经注意到CFBundleExecutable丢失或无效,但由于我对Xcode相对较新,我希望得到一些帮助以及我必须做些什么来解决这个问题。

Mar  6 17:24:51 Pauls-MBP installd[12084]: 0xb0093000 -[MIInstaller _bundlesAtURL:error:]: Failed to create bundle for file:///Users/Paul/Library/Developer/CoreSimulator/Devices/44B11D45-11C2-4FE3-9ACB-7BE3F82B3FE1/data/Library/Caches/com.apple.mobile.installd.staging/temp.LppSWd/extracted/Davy.app/ : Error Domain=MIInstallerErrorDomain Code=11 "Bundle at path /Users/Paul/Library/Developer/CoreSimulator/Devices/44B11D45-11C2-4FE3-9ACB-7BE3F82B3FE1/data/Library/Caches/com.apple.mobile.installd.staging/temp.LppSWd/extracted/Davy.app has missing or invalid CFBundleExecutable in its Info.plist" UserInfo={LegacyErrorString=MissingBundleExecutable, FunctionName=-[MIExecutableBundle _validateWithError:], NSLocalizedDescription=Bundle at path /Users/Paul/Library/Developer/CoreSimulator/Devices/44B11D45-11C2-4FE3-9ACB-7BE3F82B3FE1/data/Library/Caches/com.apple.mobile.installd.staging/temp.LppSWd/extracted/Davy.app has missing or invalid CFBundleExecutable in its Info.plist, SourceFileLine=68}
Mar  6 17:24:51 Pauls-MBP CoreSimulatorBridge[12099]: 0xb0115000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=11 "Bundle at path /Users/Paul/Library/Developer/CoreSimulator/Devices/44B11D45-11C2-4FE3-9ACB-7BE3F82B3FE1/data/Library/Caches/com.apple.mobile.installd.staging/temp.LppSWd/extracted/Davy.app has missing or invalid CFBundleExecutable in its Info.plist" UserInfo={LegacyErrorString=MissingBundleExecutable, FunctionName=-[MIExecutableBundle _validateWithError:], NSLocalizedDescription=Bundle at path /Users/Paul/Library/Developer/CoreSimulator/Devices/44B11D45-11C2-4FE3-9ACB-7BE3F82B3FE1/data/Library/Caches/com.apple.mobile.installd.staging/temp.LppSWd/extracted/Davy.app has missing or invalid CFBundleExecutable in its Info.plist, SourceFileLine=68}
Mar  6 17:24:51 Pauls-MBP CoreSimulatorBridge[12099]: ERROR: MobileInstallationInstallForLaunchServices returned nil

1 个答案:

答案 0 :(得分:0)

你可能想重置内容&在模拟器中设置,并尝试使用 cmd + shift + option + k 在xCode中清理构建文件夹 您可能还想检查包标识符。