ios iOS8 Beta Ad-Hoc App 下载 (itms-services)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25760484/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 02:19:46  来源:igfitidea点击:

iOS8 Beta Ad-Hoc App Download (itms-services)

iosios8ad-hoc-distribution

提问by Southy

I have an ipa built using my Wildcard profile. I am hosting the ipa, and my testers are downloading it on our devices.

我有一个使用我的通配符配置文件构建的 ipa。我正在托管 ipa,我的测试人员正在我们的设备上下载它。

For iOS7+ devices it is working fine.

对于 iOS7+ 设备,它工作正常。

I have installed the iOS8 Beta on one of my devices. If I install my app from the app store it installs and works fine. If I try and install an ipa version I get an "Unable to Download App" error.

我已经在我的一台设备上安装了 iOS8 Beta。如果我从应用程序商店安装我的应用程序,它会安装并正常工作。如果我尝试安装 ipa 版本,则会收到“无法下载应用程序”错误。

I am using this style of URL to download:

我正在使用这种风格的 URL 来下载:

itms-services://?action=download-manifest&url=https://url-to-plist.plist

My plist looks like:

我的 plist 看起来像:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>https://url-to-ipa.ipa</string>
                         </dict>
                         <dict>
                              <key>kind</key>
                              <string>full-size-image</string>
                              <key>needs-shine</key>
                              <true/>
                              <key>url</key>
                              <string>https://url-to-artwork/iTunesArtwork.png</string>
                         </dict>
                         <dict>
                              <key>kind</key>
                              <string>display-image</string>
                              <key>needs-shine</key>
                              <true/>
                              <key>url</key>
                              <string>https://url-to-icon/Icon.png</string>
                         </dict>
                    </array>
                    <key>metadata</key>
                    <dict>
                         <key>bundle-identifier</key>
                         <string>com.vistair.docunet-test</string>
                         <key>bundle-version</key>
                         <string>3.0.400</string>
                         <key>kind</key>
                         <string>software</string>
                         <key>subtitle</key>
                         <string>DocuNet</string>
                         <key>title</key>
                         <string>DocuNet</string>
                    </dict>
               </dict>
          </array>
     </dict>
</plist>

download/install progress gets about 2/3 of the way round and then I get the error.

下载/安装进度大约进行了 2/3,然后出现错误。

The console information looks like this:

控制台信息如下所示:

Sep 10 09:22:54 iOS8-iPad itunesstored[80] <Warning>: LaunchServices: installing placeholder for com.vistair.docunet-test
Sep 10 09:22:54 iOS8-iPad installd[36] <Notice>: 0x419000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/3333725844373650644.app" type Placeholder requested by itunesstored (pid 80)
Sep 10 09:22:54 iOS8-iPad installd[36] <Notice>: 0x419000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.vistair.docunet-test; Version=3.0.400, ShortVersion=(null)>
Sep 10 09:22:54 iOS8-iPad installd[36] <Notice>: 0x419000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.vistair.docunet-test at /private/var/mobile/Containers/Data/Application/C2CAA7A9-84D0-4350-BEF7-71A3D761AEDD
Sep 10 09:22:54 iOS8-iPad installd[36] <Notice>: 0x419000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.vistair.docunet-test at /private/var/mobile/Containers/Bundle/Application/F2673AA9-0BAB-4A39-9F53-57431B0DE690
Sep 10 09:22:54 iOS8-iPad installd[36] <Notice>: 0x419000 -[MIInstaller performInstallationWithError:]: Staging: 0.02s; Waiting: 0.00s; Installation: 0.56s; Overall: 0.58s
Sep 10 09:22:55 iOS8-iPad itunesstored[80] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x14fa8d50> com.vistair.docunet-test (Placeholder) withPhase:3
Sep 10 09:22:55 iOS8-iPad itunesstored[80] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.vistair.docunet-test.InstallingPlaceholder - <NSProgress: 0x1607eac0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache
Sep 10 09:22:55 iOS8-iPad itunesstored[80] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x14ec1430> com.vistair.docunet-test (Placeholder) withPhase:0
Sep 10 09:22:55 iOS8-iPad lsd[72] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x1457c530> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   to 0
Sep 10 09:22:56 iOS8-iPad filecoordinationd[166] <Warning>: sandboxing denied subscription to progress on category com.vistair.docunet-test (bundle id (null), 8A7A24B0-E3C0-45CC-81B3-615E0D54A5FF)
Sep 10 09:22:56 iOS8-iPad filecoordinationd[166] <Warning>: sandboxing denied subscription to progress on category com.vistair.docunet-test (bundle id com.apple.iaptransportd, F245BFD6-E6FB-4F0E-8D6B-2E2C687064F1)

回答by Zillan

Specify a 'display-image' and 'full-size-image' as described here: http://www.informit.com/articles/article.aspx?p=1829415&seqNum=16

按照此处所述指定“显示图像”和“全尺寸图像”:http: //www.informit.com/articles/article.aspx?p=1829415& seqNum=16

iOS8 requires these images

iOS8 需要这些图片

回答by FP92

If you have already installed app on your device, try to change bundle identifer on the web .plist (not app plist) with something else like "com.vistair.docunet-test2", after that refresh webpage and try to reinstall... It works for me

如果您已经在您的设备上安装了应用程序,请尝试使用“com.vistair.docunet-test2”之类的其他内容更改网络.plist(不是应用程序plist)上的捆绑标识符,然后刷新网页并尝试重新安装...这个对我有用

回答by Nikesh

I was struggling with this, my app was installing but not complete (almost 60% I can say) in iOS8, but in iOS7.1 it was working as expected. The error message popped was:

我为此苦苦挣扎,我的应用程序在 iOS8 中安装但未完成(我可以说几乎 60%),但在 iOS7.1 中它按预期工作。弹出的错误信息是:

"Cannot install at this time". 

Finally Zillan's link helped me to get apple documentation. So, check:

最后 Zillan 的链接帮助我获得了苹果文档。所以,检查:

  1. make sure the internet reachability in your device as you will be in local network/ intranet.
  2. Also make sure the address ax.init.itunes.apple.comis not getting blocked by your firewall/proxy (Just type this address in safari, a blank page must load).
  1. 确保您的设备的互联网可达性,因为您将在本地网络/内联网中。
  2. 还要确保该地址ax.init.itunes.apple.com没有被您的防火墙/代理阻止(只需在 safari 中输入此地址,必须加载一个空白页面)。

As soon as I changed the proxy it installed completely. Hope it will help someone.

一旦我更改了代理,它就完全安装了。希望它会帮助某人。