Загрузка специального приложения для iOS8 (itms-сервисы)
У меня есть ipa, созданный с использованием моего профиля Wildcard. Я размещаю ipa, и мои тестеры загружают его на наши устройства.
Для устройств iOS7+ работает нормально.
Я установил iOS8 Beta на одном из моих устройств. Если я устанавливаю свое приложение из магазина приложений, оно устанавливается и работает нормально. Если я пытаюсь установить версию ipa, я получаю сообщение об ошибке "Unable to Download App".
Я использую этот стиль URL для загрузки:
itms-services://?action=download-manifest&url=https://url-to-plist.plist
Мой 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>
процесс загрузки / установки занимает около 2/3 пути, а затем я получаю сообщение об ошибке.
Информация консоли выглядит следующим образом:
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)
3 ответа
Укажите "display-image" и "full-size-image", как описано здесь: http://www.informit.com/articles/article.aspx?p=1829415&seqNum=16
iOS8 требует эти изображения
Если вы уже установили приложение на свое устройство, попробуйте изменить идентификатор пакета в сети.plist (не app plist) на что-то еще, например "com.vistair.docunet-test2", после этого обновите веб-страницу и попробуйте переустановить... Меня устраивает
Я боролся с этим, мое приложение было установлено, но не завершено (почти 60%, я могу сказать) в iOS8, но в iOS7.1 оно работало, как ожидалось. Появилось сообщение об ошибке:
"Cannot install at this time".
Наконец ссылка Зиллана помогла мне получить документацию на яблоко. Итак, проверьте:
- убедитесь, что интернет-доступ к вашему устройству так же велик, как в локальной сети / интрасети.
- Также убедитесь, что адрес
ax.init.itunes.apple.com
не блокируется вашим брандмауэром / прокси (просто введите этот адрес в Safari, должна загрузиться пустая страница).
Как только я сменил прокси, он установился полностью. Надеюсь, это кому-нибудь поможет.