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条答案
按热度按时间4urapxun1#
你可能想在模拟器中使用
Reset Content & Settings
,并尝试在xCode中使用cmd+shift+option+k
清理你的构建文件夹你可能还想检查***bundle标识符***。