读取手机日志,找到应用无法安装的原因

2017-05-10  本文已影响1869人  Orz__
介绍一个应用-Log Guru,可以读取手机日志,找到应用无法安装的原因。

只支持 Mac 10.9 以上版本

  1. 点击下载 Log Guru
  2. 解压打开 Log Guru
  3. 将不能安装应用的设备用数据线连接到电脑上
  4. 查看不能安装的原因,如下图: ( 查看常见的错误日志 )
FoTw_wa9SEIqYLV3crZKikzzMz5u.png
LogGuru 常见的错误日志

使用 LogGuru 的时候有一些常见的日志原因,可以供大家参考:

  1. 证书被封:
    (Invalid signing certificate (it may have expired or been revoked))

  2. 手机内已安装该应用,但是应用的证书和当前下载的证书不同:

installd➜0x100724000 -[MIInstallableBundle performVerificationWithError:]: 517: Upgrad e's application-identifier entitlement string (证书前缀1.BundleID) does not match installed application's application-identifier string (证书前缀2.BundleID); rejecting upgrade.```

  解决方法:删除旧的应用,重新安装。 

3. 框架不支持:
```installd➜0x2fe93000 install_application: Could not preflight application install
itunesstored➜0x15f6000 MobileInstallationInstall: failed with -1 
installd➜0x2fe93000 handle_install: API failed```

  解决方法:在Build Settings -->Valid Architectures中添加相应的框架。

4. 没有添加 UDID:
```installd➜profile not valid: 0xe8008012
installd➜0x385000 install_embedded_profile: Could not install embedded profile: 0xe8008012```

  解决方法:添加该设备的 UDID
*相关链接:
https://fir.im/tools/log_guru
http://blog.fir.im/logs/*
上一篇 下一篇

猜你喜欢

热点阅读