ios 运行ipa包 日志查看方式

方法一: 使用ideviceinstaller工具

复制代码
# 安装ipa命令
brew install ideviceinstaller 
ideviceinstaller -i xxx.ipa

# 查看运行日志
idevicesyslog

# idevicesyslog 查找命令
idevicesyslog | grep  'test'  -A 3 -B 2 # 输出关键字所在行后3行,前2行)
idevicesyslog | sed -n  '/push event :/,/}$/p'  # 查找所有的打点

查看对应包的日志:

方法二:使用xCode

window->Devices and Simulators->我的iphone设备->选择"View Device Logs"

方法三:使用Mac自带应用"控制台",选择对应设备

方法四:使用ios-deploy

复制代码
# 安装
brew install ios-deploy
# 快速验证app的签名是否正确
ios-deploy -d -b xxx.app
相关推荐
TO_ZRG23 分钟前
iOS 符号表文件概要
macos·ios·cocoa
默默在路上32 分钟前
M芯片使用VMware Fusion安装CentOS Stream 9教程
linux·macos·centos
TheNextByte11 小时前
如何在Mac上收发Android信息 [2026 指南]
android·macos
耘田1 小时前
 macOS Launch Agent 定时任务实践指南
java·开发语言·macos
不爱吃糖的程序媛1 小时前
macOS 系统本地安装 openJiuwen 完整指南
macos
William.csj1 小时前
Mac——一款支持跨平台的与服务器之间的远程传输工具 FileZilla
macos·filezilla
Nightmare00419 小时前
Mac打开终端
macos
亚里随笔1 天前
vscode mac常用技巧—快捷键
ide·vscode·macos
Nightmare0041 天前
Mac 安装brew
大数据·macos
xiliuhu1 天前
Mac下使用conda安装PyTorch环境
pytorch·python·macos·conda