iOS8企业应用安装问题 [英] iOS8 Enterprise app install issue

查看:307
本文介绍了iOS8企业应用安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在研究这个问题很长一段时间,并已经在这里解决了许多问题,这有助于清除某些东西,但是我现在在设备日志中收到一些新的警告和错误,我无法解密



首先我得到以下内容:

 <警告> ;:LoadExternalDownloadManifestOperation:忽略清单下载,已经有bundleID:

甚至不会启动安装但是我按照以下链接中的步骤操作: iOS 8 - 无法安装企业应用程序对包标识符和清单文件进行了一些更改,并尝试启动下载。



但是,我现在收到以下错误/警告我不确定是什么导致他们:

 <注意事项> ;: 0x101dcc000  -  [MIInstaller performInstallationWithErr或:]:安装< MIInstallableBundle ID = com.bundle-name; Version = 3.0,ShortVersion =(null)> 
< Error> ;: 0x198de7310 Device-O-Matic:iterate_ancestors IORegistryEntryGetParentIterator失败:没有这样的进程
< Error> ;: 0x198de7310 Device-O-Matic:iterate_ancestors IORegistryEntryGetParentIterator失败:没有这样的文件或目录
< Error> ;: 0x198de7310 Device-O-Matic:iterate_ancestors IORegistryEntryGetParentIterator失败:没有这样的文件或目录
< Error> ;: 0x198de7310 Device-O-Matic:iterate_ancestors IORegistryEntryGetParentIterator失败:没有这样的文件或目录
< Error> ;: 0x198de7310 Device-O-Matic:iterate_ancestors IORegistryEntryGetParentIterator失败:没有这样的文件或目录
< Error> ;: 0x198de7310 Device-O-Matic:iterate_ancestors IORegistryEntryGetParentIterator失败:没有这样的文件或目录
< Error> ;: 0x198de7310 Device-O-Matic:iterate_ancestors IORegistryEntryGetParentIterator失败:没有这样的文件或目录

以及

 <警告> ;: LaunchServices:创建installProgressForApplication:< LSApplicationProxy:0x13cf84870> com.bundle-name(Placeholder)withPhase:3 
< Warning> ;: LaunchServices:installPhaseFinishedForProgress:com.bundle-name.InstallingPlaceholder - < NSProgress:0x13e003120> :父母:0x0 /分数完成:0.0000 /已完成:0的100被调用,从缓存中删除进度

和:

 < Error>:无法设置套接字选项SO_OPPORTUNISTIC:参数无效

任何帮助解密这些并释放一些光的帮助将不胜感激。



更新:



我回去检查了iOS 7.1.1,它没有安装在那里,所以我将清单文件iPA URL重新转换为ftp://,它再次工作在7.1.1,但iOS8会抛出以下警告,无法下载该应用程序:

 < Notice> ;:后台任务的URL方案无效:ftp。有效的方案是http或https 

,但将IPA网址切换到HTTPS意味着该应用不下载对于iOS 7.1.1或iOS 8.1

解决方案

我找到了解决问题的方法,这里是我做的一切加工。



我们的设置+后台:



我们有一个带HTTPS的AWS Webserver网站上运行它。自从iOS 7.1以来,我们的清单(plist)被托管在服务器上,但IPA被存储在FTP上,并且在iOS 7中运行正常。iOS 8的引入意味着FTP不再可以用于IPA,所以我们想移动它与Web服务器的PLIST相同。在此之前,尽管我们还有其他问题阻止iPad甚至尝试下载,因为我收到以下错误消息:

 忽略清单下载,已经有bundleID:{bundle_id} 

修复:



首先,我按照问题,并确保全尺寸图像 display-image 存在于清单文件。



然后,根据这个问题。这些更改是 bundle-identifier bundle-version



在这样做的时候,我的iOS 8测试iPad会拿起安装显示阴影图标,但是无法安装,但是iOS 7 iPad仍然会安装,我看到以下消息:

 < Notice> ;:后台任务的URL方案无效:ftp。有效的方案是http或https 

这导致我将所有文件移动到网络服务器上, iOS 7和iOS 8将无法安装。



我原先认为上述错误/警告之一可能导致其失败,但似乎找不到回答。经过几个小时的搜索和尝试修复我有一个顿悟,因为当尝试在Web浏览器中查看IPA时,我得到一个404,我记得当我们将PLIST文件移动到服务器上时,我们有一个类似的问题。要解决这个问题,我必须在IIS 7服务器上添加IPA MIME类型。一旦我这样做,我的7版本的应用程序将在iOS 7和iOS 8 iPad上下载一个安装。 application / octet-stream的正确MIME类型


I have been looking into this issue for a long time now and have gone over many questions on here which have helped clear up somethings but I am now getting some new warnings and errors in the device logs and I am unable to decipher them.

Firstly I was getting the following:

<Warning>: LoadExternalDownloadManifestOperation: Ignore manifest download, already have bundleID:

which wouldn't even kick the install off but I followed the steps in the following link: iOS 8 - Can't Install Enterprise App made some changes to the bundle identifier and the manifest file and it would try and kick off the download.

However I am now getting the following errors/warnings and I am unsure what is causing them:

<Notice>: 0x101dcc000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.bundle-name; Version=3.0, ShortVersion=(null)>  
<Error>: 0x198de7310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such process  
<Error>: 0x198de7310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory  
<Error>: 0x198de7310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory  
<Error>: 0x198de7310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory 
<Error>: 0x198de7310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory 
<Error>: 0x198de7310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory 
<Error>: 0x198de7310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory 

as well as:

<Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x13cf84870> com.bundle-name(Placeholder) withPhase:3  
<Warning>: LaunchServices: installPhaseFinishedForProgress: com.bundle-name.InstallingPlaceholder - <NSProgress: 0x13e003120> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache

and:

<Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument

Any Help deciphering these and shedding some light would be greatly appreciated.

Update:

I went back and checked iOS 7.1.1 and it was failing to installing there so I switched the manifest file iPA url back to being ftp:// and it worked on 7.1.1 again but iOS8 throws the following warning and fails to download the app:

<Notice>: Invalid URL scheme for background tasks: ftp. Valid schemes are http or https

but switching the IPA url over to HTTPS means the app doesn't download for both iOS 7.1.1 or iOS 8.1

解决方案

I found the solution to my problem and here is everything I did to get it working.

Our setup + backstory:

We have an AWS webserver with an HTTPS website running on it. Since iOS 7.1 our manifest (plist) is hosted on the server but the IPA was stored on an FTP and this worked fine throughout iOS 7. The introduction of iOS 8 meant the FTP could no longer be used for the IPA so we wanted to move it onto the webserver the same as the PLIST. Before doing this though we had other issues that were preventing the iPad from even trying to download because I was getting the following error message:

Ignore manifest download, already have bundleID: {bundle_id}

The Fix:

Firstly I followed the steps in this question and made sure that both full-size-image and display-image exist in the manifest file.

I then made some other changes to the manifest file based on another answer in this question. These changes were to the bundle-identifier and bundle-version

In doing this my iOS 8 test iPad would pick up the install display the shadow icon but then fail to install, however the iOS 7 iPad would still install I saw the following message:

<Notice>: Invalid URL scheme for background tasks: ftp. Valid schemes are http or https

Which led me to move all the files onto the webserver, but then both iOS 7 and iOS 8 wouldn't install.

I originally thought one of the above errors / warnings might have been causing it to fail but couldn't seem to find an answer. After hours of searching and trying to fix I had an epiphany because when trying to view the IPA in a web browser I was getting a 404 and I remembered we had a similar issue when moving the PLIST file onto the server. To fix this I had to add the IPA MIME type on the IIS 7 server. As soon as I did this my 7 build of our app will download an install on both the iOS 7 and iOS 8 iPads. The correct MIME type for an application/octet-stream

这篇关于iOS8企业应用安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆