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
相关推荐
赶路人儿10 小时前
MacOS 下实现 AI 操控电脑(Computer Use)的思考
人工智能·macos·策略模式
00后程序员张10 小时前
使用Instruments工具深入分析iOS应用性能与启动时间优化
android·macos·ios·小程序·uni-app·cocoa·iphone
2601_9609067211 小时前
AI研发加速中式及泛亚洲
人工智能·vscode·macos·sublime text·phpstorm
sg_knight11 小时前
Codex CLI 安装全攻略:macOS / Linux / Windows(WSL2)三端实战
linux·windows·macos·openai·ai编程·coding·codex
for_ever_love__1 天前
iOS:网络请求再学习
网络·学习·ios·objective-c
2501_915921431 天前
SwiftUI开发框架入门指南:从基础到实战
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
for_ever_love__1 天前
iOS: 网络请求第三方库的使用: AFNetworking
网络·学习·ios·objective-c·cocoa·xcode
Teleger1 天前
蓝牙 MAC 扫描匹配器
macos
刘婉晴2 天前
【漏扫工具篇】Mac 系统上 Xray 的安装与使用
macos
寒水馨2 天前
macOS下载、安装PowerShell-v7.6.4(附安装包powershell-7.6.4-osx-arm64.pkg)
macos·自动化·跨平台·shell·脚本·命令行·powershell