2015-10-17 150 views
0

我得到安裝失敗將應用程序安裝到我的設備時,錯誤消息爲無法檢查應用程序包。 simultor工作正常!應用程序安裝失敗!無法檢查應用程序包

後搜索的時間,我引用鏈接Xcode: Could not inspect the application package

所以,我想:

  1. 乾淨生成文件夾
  2. 乾淨drivedData
  3. 重命名 「資源」 文件夾 「RES」/」資產「
  4. 重新啓動Xcode
  5. 重新啓動我的設備

但沒有爲我工作,任何想法將不勝感激?

這裏的設備日誌:


Oct 17 14:39:33 rande-iPhone streaming_zip_conduit[229] : LaunchServices: installing app for existing placeholder com.bobobanker.MBoBo <(null) Not found in database> Oct 17 14:39:33 rande-iPhone streaming_zip_conduit[229] : LaunchServices: Not creating progress for com.bobobanker.MBoBo <(null) Not found in database> since it is not a placeholder. Oct 17 14:39:33 rande-iPhone installd[52] : 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/MBoBo.app" type Developer requested by streaming_zip_conduit (pid 229) Oct 17 14:39:33 rande-iPhone installd[52] : 0x16e12f000 -[MIBundle _validateWithError:]: 30: Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app Oct 17 14:39:33 rande-iPhone installd[52] : 0x16e12f000 -[MIInstaller _bundlesAtURL:error:]: Failed to create bundle for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app/ : Error Domain=MIInstallerErrorDomain Code=35 "Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app" UserInfo={LegacyErrorString=PackageInspectionFailed, FunctionName=-[MIBundle _validateWithError:], SourceFileLine=30, NSLocalizedDescription=Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app} Oct 17 14:39:34 rande-iPhone streaming_zip_conduit[229] : 0x16e247000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=35 "Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app" UserInfo={LegacyErrorString=PackageInspectionFailed, FunctionName=-[MIBundle _validateWithError:], SourceFileLine=30, NSLocalizedDescription=Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app} Oct 17 14:39:34 rande-iPhone streaming_zip_conduit[229] : ERROR: MobileInstallationInstallForLaunchServices returned nil Oct 17 14:39:34 rande-iPhone streaming_zip_conduit[229] : __dispatch_source_read_socket_block_invoke:234: Failed to install application at file:///var/mobile/Media/PublicStaging/MBoBo.app/ : Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=PackageInspectionFailed, ErrorDescription=Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app}

+0

您的應用程序是否已經安裝在設備上?如果是,請刪除它。 –

+0

我試過了,但沒有工作 – nonstriater

+0

所以它在那裏,但沒有刪除?你確實刪除了它,但沒有解決你的問題? –

回答

0

原因可能導致這個問題:

  1. 在應用程序的名稱非拉丁字符。例如。 é
    • 刪除此字符/重命名您的應用程序。
  2. 移動或複製名爲資源或資源的文件夾。
    • 重命名該文件夾。

嘗試上述後,總是好的,做到以下幾點:

  1. 清潔。
  2. 清除派生數據。
  3. 從設備中刪除舊應用程序。

然後再次嘗試安裝。

+0

它不工作,我添加設備日誌,你能找到規則? – nonstriater

+0

看起來你在那裏有幾個問題。祝你好運。 –

+0

好的,謝謝你的回覆 – nonstriater

相關問題