Log Guru 的作用
FIR.im Log Guru 可以更簡單的讀手機日志,找到應用無法安裝的原因。
使用方法
- step1:
點擊下載Log Guru; - step2:
解壓打開LogGuru; - step3:
將不能安裝應用的iPhone/iPad設備用數據線連到電腦; - step4:
查看不能安裝的原因,如圖:
安裝日志
- step5:
根據錯誤(標黃)定位問題所在,如果沒見過這種錯誤,可以到Google搜索別人的解決方法。
一些常見的錯誤原因
- 證書被封:
(Invalid signing certificate (it may have expired or been revoked)) - 手機內已安裝該應用,但是應用的證書和當前下載的證書不同:
profiled?(Note ) MC: Provisioning profiles changed
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.
解決方法:刪除舊的應用,重新安裝。
- 框架不支持:
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中添加相應的框架。
- 沒有添加 UDID:
installd?profile not valid: 0xe8008012
installd?0x385000 install_embedded_profile: Could not install embedded profile: 0xe8008012
解決方法:添加該設備的 UDID