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
相关推荐
梁辰兴8 小时前
计算机网络基础:以太网的 MAC 层
网络·计算机网络·macos·计算机·mac·以太网·梁辰兴
老臣软件12 小时前
macOS 下载太慢?问题可能不在网速
经验分享·macos·mac·实用软件·网络下载管理器
Clarence Liu13 小时前
MacOS 在Trae IDE中构建现代C++开发环境:从新手到高效的完整指南
c++·ide·macos
2501_9159214314 小时前
Flutter App 到底该怎么测试?如何在 iOS 上进行测试
android·flutter·ios·小程序·uni-app·cocoa·iphone
2501_9159090614 小时前
如何在 Windows 上上架 iOS App,分析上架流程哪些是不用mac的
android·macos·ios·小程序·uni-app·iphone·webview
草明14 小时前
解决: macOS 长按一个键不连续输出
macos
专业开发者1 天前
调试 iOS 蓝牙应用的新方法
物联网·macos·ios·cocoa
米有哥1 天前
[Embodied AI] Mac上安装ROS2
人工智能·macos·ros2
2501_927541092 天前
Adobe Lightroom Classic 2025 Lrc图像处理工具Mac
图像处理·macos·adobe·lightroom·照片美化