苹果更新系统后,最近打包的ipa包在ios9系统上无法安装(ios8可以),
提示“无法下载应用”,经过一系列折腾解决了问题:
参考 http://www.cocoachina.com/bbs/read.php?tid-325154.html 
基本提供了以下几种解决路径,下面是折腾的过程:
1. 首先怀疑是http和https的问题,苹果更新系统要求所有请求都变成https,所以怀疑下载过程也要求这样,很快排除;
2.清除手机safari缓存,验证无效,但可能某些场景有效;
3.恢复网络设置,验证无效,但可能某些场景有效;
4.恢复出厂设置,验证无效,但可能某些场景有效;
5. 怀疑ipa的bundle id和服务器的plist上的bundle id不一致
查看服务器的plist文件,发现确实是这个原因引起,修改使之与ipa的
bundle id一致,解决;
但是后来发现新问题:
更新到9.0.2时发现5s以上设备可以安装,5c不行,反复查看了上面的解决路径5中方法,不得解,使用工具http://fir.im/tools/log_guru (很棒的开发者自己写的工具,原理就是将itunes可以看到的设备上所有log输出),直接看安装失败的log ,如下:

09:38:07 itunesstored➜[Download]: Reprioritizing to high task: 4 for download: 4270672922564713524

09:38:08 itunesstored➜[Download]: Reprioritizing to high task: 4 for download: 4270672922564713524

09:38:16 nsurlsessiond➜SocketStream watchdog timer fired after 65.000000 seconds of inactivity. Timing out the connection.

09:38:16 itunesstored➜[Download]: Retry scheduled for task: 4, download: 4270672922564713524, error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=http://www.cmccim.com/resource/littlec_iOS_1.3.0.ipa, _kCFStreamErrorCodeKey=-2104, NSErrorFailingURLKey=http://www.cmccim.com/resource/littlec_iOS_1.3.0.ipa, NSLocalizedDescription=The request timed out., _kCFStreamErrorDomainKey=4}

09:38:17 itunesstored➜[Download]: Reset data consumer for task: 4, with resumption offset: 7810493

09:38:20 itunesstored➜[Download]: Download task did finish: 4 for download: 4270672922564713524

09:38:20 itunesstored➜[ApplicationWorkspace] Installing download: 4270672922564713524 with step(s): Install

09:38:20 itunesstored➜[ApplicationWorkspace]: Installing software package with bundleID: com.cmcchy.xiaoxi: bundleVersion: 1.3.0 path: /var/mobile/Media/Downloads/4270672922564713524/-556691672994417771

09:38:21 itunesstored➜[ApplicationWorkspace]: Bundle validated for bundleIdentifier: com.cmcchy.xiaoxi success: 1

09:38:21 itunesstored➜LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x14ee3dc0> com.cmcchy.xiaoxi (Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/8AD346A2-0B79-4E3E-A623-13FE5328B10A/4270672922564713524.app>

09:38:21 itunesstored➜LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x14ee3dc0> com.cmcchy.xiaoxi (Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/8AD346A2-0B79-4E3E-A623-13FE5328B10A/4270672922564713524.app> withPhase:1

09:38:21 installd➜0x40115000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/Downloads/4270672922564713524/-556691672994417771" type Customer requested by itunesstored (pid 310)

09:38:23 installd➜0x40081000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.cmcchy.xiaoxi; Version=1, ShortVersion=1.0>

09:38:24 profiled➜(Note ) MC: Provisioning profiles changed

09:38:24 profiled➜(Note ) MC: Updating MIS trust...

09:38:24 installd➜ SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

09:38:26 online-auth-agent➜ SecTrustEvaluate  [leaf AnchorTrusted]

09:38:27 installd➜0x40081000 MIMachOFileMatchesMyArchitecture: 310: Failed to find matching arch for 64-bit Mach-O input file /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.KV3EvC/extracted/Payload/ChatDemo.app/ChatDemo

09:38:27 installd➜0x40081000 -[MIInstaller performInstallationWithError:]: Verification stage failed

09:38:28 itunesstored➜0x40081000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=15 "Failed to find matching arch for 64-bit Mach-O input file /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.KV3EvC/extracted/Payload/ChatDemo.app/ChatDemo" UserInfo={LegacyErrorString=IncorrectArchitecture, FunctionName=MIMachOFileMatchesMyArchitecture, NSLocalizedDescription=Failed to find matching arch for 64-bit Mach-O input file /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.KV3EvC/extracted/Payload/ChatDemo.app/ChatDemo, SourceFileLine=310}

09:38:28 itunesstored➜ERROR: MobileInstallationInstallForLaunchServices returned nil

09:38:28 itunesstored➜LaunchServices: installPhaseFinishedForProgress: com.cmcchy.xiaoxi.Installing - <NSProgress: 0x14debe10> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache

09:38:28 itunesstored➜[ApplicationWorkspace]: Failed to install application: com.cmcchy.xiaoxi; /var/mobile/Media/Downloads/4270672922564713524/-556691672994417771; Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=IncorrectArchitecture, ErrorDescription=Failed to find matching arch for 64-bit Mach-O input file /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.KV3EvC/extracted/Payload/ChatDemo.app/ChatDemo}

09:38:28 itunesstored➜[ApplicationWorkspace] Install complete for download: 4270672922564713524 result: Failed

09:38:28 itunesstored➜[Download]: Fail download: 4270672922564713524 after error: Error Domain=SSMobileInstallationErrorDomain Code=0 "(null)" UserInfo={SSErrorInstallErrorNameKey=IncorrectArchitecture}

所以怀疑是ipa打包配置需要改下,经分析可能是这里的问题:

将yes

将yes改为no,重新打包安装,解决~

猜测:可能是到9.0.2优先检查ipa的最高架构,假如支持了arm64就安装此架构到设备上,而iphone5c不支持arm64,这样就报了上面的错,修改这个配置就是让其不严格校验架构,可以兼容所有支持的架构。

苹果更新系统后,最近打包的ipa包在ios9系统上无法安装(ios8可以),
提示“无法下载应用”,经过一系列折腾解决了问题:
参考 http://www.cocoachina.com/bbs/read.php?tid-325154.html 
基本提供了以下几种解决路径,下面是折腾的过程:
1. 首先怀疑是http和https的问题,苹果更新系统要求所有请求都变成https,所以怀疑下载过程也要求这样,很快排除;
2.清除手机safari缓存,验证无效,但可能某些场景有效;
3.恢复网络设置,验证无效,但可能某些场景有效;
4.恢复出厂设置,验证无效,但可能某些场景有效;
5. 怀疑ipa的bundle id和服务器的plist上的bundle id不一致
查看服务器的plist文件,发现确实是这个原因引起,修改使之与ipa的
bundle id一致,解决;
但是后来发现新问题:
更新到9.0.2时发现5s以上设备可以安装,5c不行,反复查看了上面的解决路径5中方法,不得解,使用工具http://fir.im/tools/log_guru (很棒的开发者自己写的工具,原理就是将itunes可以看到的设备上所有log输出),直接看安装失败的log ,如下:

09:38:07 itunesstored➜[Download]: Reprioritizing to high task: 4 for download: 4270672922564713524

09:38:08 itunesstored➜[Download]: Reprioritizing to high task: 4 for download: 4270672922564713524

09:38:16 nsurlsessiond➜SocketStream watchdog timer fired after 65.000000 seconds of inactivity. Timing out the connection.

09:38:16 itunesstored➜[Download]: Retry scheduled for task: 4, download: 4270672922564713524, error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=http://www.cmccim.com/resource/littlec_iOS_1.3.0.ipa, _kCFStreamErrorCodeKey=-2104, NSErrorFailingURLKey=http://www.cmccim.com/resource/littlec_iOS_1.3.0.ipa, NSLocalizedDescription=The request timed out., _kCFStreamErrorDomainKey=4}

09:38:17 itunesstored➜[Download]: Reset data consumer for task: 4, with resumption offset: 7810493

09:38:20 itunesstored➜[Download]: Download task did finish: 4 for download: 4270672922564713524

09:38:20 itunesstored➜[ApplicationWorkspace] Installing download: 4270672922564713524 with step(s): Install

09:38:20 itunesstored➜[ApplicationWorkspace]: Installing software package with bundleID: com.cmcchy.xiaoxi: bundleVersion: 1.3.0 path: /var/mobile/Media/Downloads/4270672922564713524/-556691672994417771

09:38:21 itunesstored➜[ApplicationWorkspace]: Bundle validated for bundleIdentifier: com.cmcchy.xiaoxi success: 1

09:38:21 itunesstored➜LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x14ee3dc0> com.cmcchy.xiaoxi (Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/8AD346A2-0B79-4E3E-A623-13FE5328B10A/4270672922564713524.app>

09:38:21 itunesstored➜LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x14ee3dc0> com.cmcchy.xiaoxi (Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/8AD346A2-0B79-4E3E-A623-13FE5328B10A/4270672922564713524.app> withPhase:1

09:38:21 installd➜0x40115000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/Downloads/4270672922564713524/-556691672994417771" type Customer requested by itunesstored (pid 310)

09:38:23 installd➜0x40081000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.cmcchy.xiaoxi; Version=1, ShortVersion=1.0>

09:38:24 profiled➜(Note ) MC: Provisioning profiles changed

09:38:24 profiled➜(Note ) MC: Updating MIS trust...

09:38:24 installd➜ SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

09:38:26 online-auth-agent➜ SecTrustEvaluate  [leaf AnchorTrusted]

09:38:27 installd➜0x40081000 MIMachOFileMatchesMyArchitecture: 310: Failed to find matching arch for 64-bit Mach-O input file /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.KV3EvC/extracted/Payload/ChatDemo.app/ChatDemo

09:38:27 installd➜0x40081000 -[MIInstaller performInstallationWithError:]: Verification stage failed

09:38:28 itunesstored➜0x40081000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=15 "Failed to find matching arch for 64-bit Mach-O input file /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.KV3EvC/extracted/Payload/ChatDemo.app/ChatDemo" UserInfo={LegacyErrorString=IncorrectArchitecture, FunctionName=MIMachOFileMatchesMyArchitecture, NSLocalizedDescription=Failed to find matching arch for 64-bit Mach-O input file /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.KV3EvC/extracted/Payload/ChatDemo.app/ChatDemo, SourceFileLine=310}

09:38:28 itunesstored➜ERROR: MobileInstallationInstallForLaunchServices returned nil

09:38:28 itunesstored➜LaunchServices: installPhaseFinishedForProgress: com.cmcchy.xiaoxi.Installing - <NSProgress: 0x14debe10> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache

09:38:28 itunesstored➜[ApplicationWorkspace]: Failed to install application: com.cmcchy.xiaoxi; /var/mobile/Media/Downloads/4270672922564713524/-556691672994417771; Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=IncorrectArchitecture, ErrorDescription=Failed to find matching arch for 64-bit Mach-O input file /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.KV3EvC/extracted/Payload/ChatDemo.app/ChatDemo}

09:38:28 itunesstored➜[ApplicationWorkspace] Install complete for download: 4270672922564713524 result: Failed

09:38:28 itunesstored➜[Download]: Fail download: 4270672922564713524 after error: Error Domain=SSMobileInstallationErrorDomain Code=0 "(null)" UserInfo={SSErrorInstallErrorNameKey=IncorrectArchitecture}

所以怀疑是ipa打包配置需要改下,经分析可能是这里的问题:

将yes

将yes改为no,重新打包安装,解决~

猜测:可能是到9.0.2优先检查ipa的最高架构,假如支持了arm64就安装此架构到设备上,而iphone5c不支持arm64,这样就报了上面的错,修改这个配置就是让其不严格校验架构,可以兼容所有支持的架构。

ios9系统无法下载应用问题分析与解决相关推荐

  1. win7计算机闪屏,win7系统的电脑屏幕闪烁分析及解决方法

    win7系统的电脑屏幕闪烁,怎么办?要这么解决呢?现在就和大家说一下如何解决电脑屏幕闪烁的问题.以下就是win7系统的电脑屏幕闪烁分析及解决方法,有需要的朋友可以参考下,希望可以帮到你. win7系统 ...

  2. win7计算机右键属性桌面进程重启,Win764位系统电脑自动重启的分析与解决步骤...

    Win764位系统电脑自动重启的分析与解决步骤 系统失败导致自动重启 1.在桌面上"我的电脑"鼠标右键,弹出的快捷菜单单击"属性"命令. 2.打开"系 ...

  3. Xcode10打包引起iOS9系统的用户启动App随机崩溃的问题修复记录

    最近更新了Xcode10和macOS10.14,想着可以在暗黑模式下尽情潇洒.然而,在用Xcode10打包提交一个版本之后,线上崩溃接踵而至.这就很尴尬了,发布前,不管是开发自测还是测试同学的调试,都 ...

  4. [系统安全] 二十三.逆向分析之OllyDbg动态调试复习及TraceMe案例分析

    您可能之前看到过我写的类似文章,为什么还要重复撰写呢?只是想更好地帮助初学者了解病毒逆向分析和系统安全,更加成体系且不破坏之前的系列.因此,我重新开设了这个专栏,准备系统整理和深入学习系统安全.逆向分 ...

  5. Windows变慢原因分析及解决方法·系统篇

    Windows变慢原因分析及解决方法·系统篇 系统加速 一 [Windows 98 ] 1.不要加载太多随机启动程序 不要在开机时载入太多不必要的随机启动程序.选择"开始→程序→附件→系统工 ...

  6. Debian etch 基本系统 initial ram disk 的分析

    ilovestars 2007年5月3日于瀚海星云 Linux 版 自己最近花时间研究了一下 linux 的 initial ram disk,然后就写了这篇文章. 因为是要给别人看的,所以写的时候就 ...

  7. 服务器装系统引导进去系统usb失灵,重装win7后usb全部失灵原因分析以及解决方法(完美解决)...

    [文章导读]最近有很多网友问,为什么我电脑重装win7后usb键盘鼠标都失灵不能用了?大家都知道,win10系统虽然发布了几年,但是由于Win7的习惯留住了不少Win7忠实用户,因此Win7系统的使用 ...

  8. 系统即将关机请保存关机是由nt_电脑频繁自动关机是由NT AUTHORITY SYSTEM初始的分析及解决...

    操作电脑的过程中难免会遇到各种故障问题,最近有用户遇到电脑频繁自动关机并提示"系统即将关机,请保存所有正在运行的工作,然后注销,未保存的改动将会丢失,自动关机是由NT AUTHORITY|S ...

  9. win10系统装服务器2008蓝屏,升级安装Win10正式版后出现蓝屏怎么办?Win10蓝屏原因分析及解决方法...

    最近有不少人都升级了Win10系统,但是有一些人Win10安装好了以后,总是蓝屏和不停地重启,根本不能好好体验新版Win10了.那么升级安装Win10正式版后出现蓝屏怎么办?下面就分享Win10蓝屏原 ...

最新文章

  1. Webpack 代码分离
  2. Vue中数组赋值问题
  3. kayui进行添加_关于layui 实现点击按钮添加一行(方法渲染创建的table)
  4. Codeforces Round #736 (Div. 2) D. Integers Have Friends ST表gcd + 尺取
  5. 使用Java 8的Builder模式
  6. 【Interfacenavigation】规划多个触摸屏尺寸(57)
  7. 走进内存,走进汇编指令来看C/C++指针
  8. js判断是否为手机端访问
  9. 【转】 Linux中的工作队列
  10. 华为精益看板探索之路【PPT+注解】
  11. JMeter Ramp-up 说明
  12. 计算机网络教程第五版|微课版 - 第一章 概述 - 习题
  13. docker 访问宿主机网络
  14. 创建github或者gitee(国内版github)账户
  15. 信号与系统 --- 线性卷积(linear convolution)
  16. html制作3d按钮,纯CSS3 3D按钮 按钮酷似牛奶般剔透
  17. 关于VS编译跨端工程出现error C2059的一个解决方案
  18. chatgpt赋能Python-python_patsy
  19. 强化学习(Reinforcement Learning)
  20. 南阳市区彩礼 wribao.php230.com,2021南阳彩礼钱一般给多少 河南南阳2021年结婚彩礼...

热门文章

  1. rabbitmq——交换机fanout和direct
  2. 学习笔记(01):【中国PHP教育大牛高洛峰】亲授php教程-PHP布尔类型(boolean)...
  3. python画图小例(玫瑰、佩奇、哆啦A梦、美队盾牌)
  4. 2019亚信科技java实习面试笔试经验分享(已成功入职)
  5. IMU使用入门——WT901CM
  6. ch2_8_2求解幸运数问题
  7. 云计算学习笔记——第四章 存储虚拟化
  8. google 搜索接口
  9. 【报告分享】淘宝直播2021年度报告-淘榜单淘宝直播(附下载)
  10. 怎么将Excel多个工作表拆分成多个单独的Excel