I got Installation Failed when install App to my device,the error message is Could not inspect the application package. The simultor work fine!
After hours of search,I reference the link Xcode: Could not inspect the application package
So I tried:
- clean build folder
- clean drivedData
- rename "Resources" folder to "Res"/"Assets"
- restart Xcode
- restart my device
but nothing worked for me, any ideas will be appreciated?
here is the device log:
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}