App Installation Fails - Could not inspect the application package
Schteef opened this issue · 1 comments
Hi @skywinder:
I'm trying to run Example in Xcode 9.4.1 on my iPhone 7+ (iOS 11.4.1) and I'm almost there - except I'm getting the error "App installation failed. Could not inspect the application package." right at the last step.
Here are the messages for my iPhone from the console just before the failed installation:
-
default 14:58:58.942412 -0700 installd com.stevedancho.GaugeKit:7:5:1:1:Start : Install (New)
-
default 14:58:58.942474 -0700 installd 0x16d337000 -[MIFileManager itemDoesNotExistAtURL:]: Failed to determine if file:///private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.UKq6gZ/extracted/Example.app/Frameworks/GaugeKit.framework/Info.plist exists: Not a directory
-
default 14:58:58.942546 -0700 installd 0x16d337000 MILoadInfoPlist: Failed to create CFBundle from URL file:///private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.UKq6gZ/extracted/Example.app/Frameworks/GaugeKit.framework/
-
default 14:58:58.942771 -0700 assertiond Client relinquished <BKTerminationAssertion: 0x10bd417e0; "FBSApplicationTerminationAssertion" (Unconditional); 47:(null) id:…31852A229370>
-
default 14:58:58.942835 -0700 assertiond -[BKAssertion dealloc] - <0x10bd417e0>
-
default 14:58:58.943583 -0700 installd 0x16d337000 -[MIBundle _validateWithError:]: 38: Failed to load Info.plist from bundle at path /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.UKq6gZ/extracted/Example.app/Frameworks/GaugeKit.framework
-
default 14:58:58.943643 -0700 installd 0x16d337000 -[MIInstaller performInstallationWithError:]: Preflight stage failed
-
default 14:58:58.965910 -0700 installd com.stevedancho.GaugeKit:7:5:2:0:Fail (End) : Install (New)
-
default 14:58:58.971078 -0700 lsd com.stevedancho.GaugeKit:5:1:2:0:MobileInstallation returned nil for file:///var/mobile/Media/PublicStaging/Example.app/
-
default 14:58:58.971290 -0700 lsd Sending applicationsDidFailToInstall: for
-
error 14:58:58.971338 -0700 routined LaunchServices observer: Apps Failed be installed:
-
error 14:58:58.971428 -0700 nsurlsessiond LaunchServices observer: Apps Failed be installed:
-
... lots more of these type error messages: Apps Failed be installed: ...
-
default 14:58:58.972532 -0700 SpringBoard -[FBApplicationLibrary applicationsDidFailToInstall:] com.stevedancho.GaugeKit
-
error 14:58:58.972579 -0700 SpringBoard Applications did fail to install: (
"<LSApplicationProxy: 0x1313ec3e0> com.stevedancho.GaugeKit (null) <com.stevedancho.GaugeKit :0>"
) (appInfos: (null)) -
default 14:58:58.972707 -0700 streaming_zip_conduit com.stevedancho.GaugeKit:5:1:2:0:_LSInstallationManager install:withError finished
-
default 14:58:58.972903 -0700 streaming_zip_conduit dispatch_source_read_socket_block_invoke:312: Failed to install application at file:///var/mobile/Media/PublicStaging/Example.app/ : Error Domain=MIInstallerErrorDomain Code=35 "Failed to load Info.plist from bundle at path /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.UKq6gZ/extracted/Example.app/Frameworks/GaugeKit.framework" UserInfo={LegacyErrorString=PackageInspectionFailed, FunctionName=-[MIBundle _validateWithError:], SourceFileLine=38, NSLocalizedDescription=Failed to load Info.plist from bundle at path /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.UKq6gZ/extracted/Example.app/Frameworks/GaugeKit.framework}
Any suggestions would be greatly appreciated -
Solved it - just had to put GaugeKit.framework in the correct directory