App install failed. "Failed to load Info.plist from bundle at path."

My software works on the simulator.


My software wlll not install on device.


It seems like there is an issue with the info.plist not being parsed correctly. But, everything seems correct to me. It points to line 30... but that doesn't change if the .plist is binary or XML, or if the content changes.


Xcode Version 7.0 (7A218)

OS X Version 10.11.1 Beta (15B30a)


Any ideas? Details below.


Xcode message:


"App install failed.

Could not install the application package."


Here's a picture of that message from someone else:


http://i.stack.imgur.com/r6Wi1.png

Device Console

The important part seems to be "Failed to load Info.plist from bundle at path /../the.app, SourceFileLine=30."


Oct 12 00:46:09 New-iPad installd[42] <Error>: 0x40081000 -[MIBundle _validateWithError:]: 30: Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.FtCnMk/extracted/MAD Designer.app
Oct 12 00:46:09 New-iPad installd[42] <Error>: 0x40081000 -[MIInstaller _bundlesAtURL:error:]: Failed to create bundle for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.FtCnMk/extracted/MAD%20Designer.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.FtCnMk/extracted/MAD Designer.app" UserInfo={LegacyErrorString=PackageInspectionFailed, FunctionName=-[MIBundle _validateWithError:], NSLocalizedDescription=Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.FtCnMk/extracted/MAD Designer.app, SourceFileLine=30}
Oct 12 00:46:10 New-iPad streaming_zip_conduit[174] <Error>: 0x40115000 __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.FtCnMk/extracted/MAD Designer.app" UserInfo={LegacyErrorString=PackageInspectionFailed, FunctionName=-[MIBundle _validateWithError:], NSLocalizedDescription=Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.FtCnMk/extracted/MAD Designer.app, SourceFileLine=30}
Oct 12 00:46:10 New-iPad streaming_zip_conduit[174] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Oct 12 00:46:10 New-iPad streaming_zip_conduit[174] <Warning>: __dispatch_source_read_socket_block_invoke:234: Failed to install application at file:///var/mobile/Media/PublicStaging/MAD%20Designer.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.FtCnMk/extracted/MAD Designer.app}


OS X Console

10/12/15 12:32:24.660 AM Xcode[963]: AMDeviceSecureInstallApplicationBundle (thread 0x7000009ca000): unable to get installed app info, falling back to old skool install
10/12/15 12:32:24.660 AM Xcode[963]: AMDeviceSecureInstallApplicationBundle (thread 0x7000009ca000): Blasting the bundle over to the device in an old skool way
10/12/15 12:32:28.856 AM Xcode[963]: AMDErrorForMobileInstallationCallbackDict (thread 0x7000008c4000): GOT AN ERROR 0xe8000051
10/12/15 12:32:28.861 AM Xcode[963]: SZConduit: _MonitorResultDispatchFunction:137 (0x0x7000008c4000): Got error from service: InstallationFailed
10/12/15 12:32:28.861 AM Xcode[963]: _AMDeviceTransferAndInstall (thread 0x7000009ca000): SZConduitSendPathWithPreflight failed: 0xe8000051
10/12/15 12:32:28.883 AM Xcode[963]: writeDictToFile:1269 open failed for /var/folders/m0/d4scrr252sd8qsw_rrd1w8_w0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/4965d2201c65bc89764e7cfb9d2d5a59/2312a77ac39fd71f9989468d8cbcf8abfba23bbe/ManifestCache.plist : No such file or directory
10/12/15 12:32:28.883 AM Xcode[963]: MDMCacheDirectoryManifest:1364 writeDictToFile failed to write to /var/folders/m0/d4scrr252sd8qsw_rrd1w8_w0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/4965d2201c65bc89764e7cfb9d2d5a59/2312a77ac39fd71f9989468d8cbcf8abfba23bbe/ManifestCache.plist : No such file or directory
10/12/15 12:32:28.884 AM Xcode[963]: AMDeviceSecureInstallApplicationBundle (thread 0x7000009ca000): returning 0xe8000051
Answered by mad.designer in 75837022

The solution:


So, my project has multiple targets. A few were added recently. Each probject has its own info.plist file. One of them was being copied into the bundle, causing the issue.


Also, if you have install issues, read the technical note linked below. It give you guidelines on debugging it, eventhogh it doesn't address this issue.


https://developer.apple.com/library/ios/technotes/tn2319/_index.html

Accepted Answer

The solution:


So, my project has multiple targets. A few were added recently. Each probject has its own info.plist file. One of them was being copied into the bundle, causing the issue.


Also, if you have install issues, read the technical note linked below. It give you guidelines on debugging it, eventhogh it doesn't address this issue.


https://developer.apple.com/library/ios/technotes/tn2319/_index.html

App install failed. "Failed to load Info.plist from bundle at path."
 
 
Q