Я только что купил корпоративную программу iPhone. Мое понимание:Распределение предприятий iOS - Шаги?
- Создать Прод CERT
- Создать новый идентификатор приложения
- Создать профиль Prod пров, используя этот идентификатор приложения (2) и прод сертификат (1).
- Создайте приложение, заархивируйте его с помощью профиля профайла (3)
- Создайте файл plist в БД (или другом сервере https) для распространения приложения OTA, как это было с ad-hoc ipa-файлами.
- Загрузите файл IPA где-нибудь, и файл plist (5) укажет на него.
- Наслаждайтесь приложением во всех устройствах я хочу
Я последовал за эти шаги, и я не могу установить приложение. Всегда получайте сообщение об ошибке. Нужно ли сначала вручную добавлять все UDID и назначать их профилю профиля 3)?
Журнал ошибок в моем устройстве что-то вроде этого:
Jun 23 13:03:53 MyIpad installd[34] <Error>: 0x485000 +[MIInstallable installablesAtURL:packageFormat:userOptions:error:]: 52: Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.QICyA0/extracted (Error Domain=NSPOSIXErrorDomain Code=2 "_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.QICyA0/extracted/Payload returned No such file or directory" UserInfo=0x165b5630 {FunctionName=-[MIFileManager urlsForItemsInDirectoryAtURL:error:], SourceFileLine=413, NSLocalizedDescription=_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.QICyA0/extracted/Payload returned No such file or directory})
Jun 23 13:03:53 MyIpad itunesstored[77] <Error>: 0x481000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=6 "Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.QICyA0/extracted" UserInfo=0x14768e20 {LegacyErrorString=PackageInspectionFailed, FunctionName=+[MIInstallable installablesAtURL:packageFormat:userOptions:error:], NSLocalizedDescription=Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.QICyA0/extracted, SourceFileLine=52, NSUnderlyingError=0x14620a40 "_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.QICyA0/extracted/Payload returned No such file or directory"}
Jun 23 13:03:53 MyIpad itunesstored[77] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jun 23 13:03:53 MyIpad lsd[70] <Warning>: LaunchServices: installation failed for app com.mybundle.xxx
Да, вы должны сначала вручную добавить все UDID, а затем отредактировать профиль подготовки и выбрать все устройства. – suthar
Невозможно доставить один IPA, не зная UDID? Взгляните здесь: http://stackoverflow.com/questions/8830194/can-i-distribute-my-app-for-any-device-without-udid – nano
suthar не прав, вам не нужно добавлять UDID (поскольку вы используете учетную запись предприятия) –