iOS逆向----在模拟器上安装APP

版权声明:本文为博主原创文章,未经博主允许可以转载,但转载时请附上原文地址: https://blog.csdn.net/youshaoduo/article/details/84065861

首先要确保这个app是simulator的包,如果是release的包,会由于CPU架构不同,导致启动APP时闪退。simulator的包可以从下图所示的方法拿到:
在这里插入图片描述
在这里插入图片描述

打开终端

	
➜  instruments -s devices //查看可用模拟器
➜  xcrun instruments -w 'iPhone SE (12.1)'  //启动模拟器

➜  ~ cd /Users/youssef/Downloads/Payload //进入.app包的目录
➜  xcrun simctl install booted test.app //如果没打开模拟器会报错
No devices are booted.
➜  xcrun simctl install booted test.app //用命令安装
➜  xcrun simctl uninstall booted com.ysd.resign //用命令卸载,bundleID要跟.app的bundleID对应
➜  xcrun simctl openurl <Device UDID> http://www.tracenote.com //在模拟器的Safari中打开连接
➜  xcrun simctl list|grep Booted //查看已经启动的模拟器

猜你喜欢

转载自blog.csdn.net/youshaoduo/article/details/84065861
今日推荐