frida-core icon indicating copy to clipboard operation
frida-core copied to clipboard

Failed to spawn: unable to launch iOS app: timeout

Open zhangkn opened this issue 7 years ago • 1 comments

前言

今天准备接触下frida, 使用下 AloneMonkey/frida-ios-dump的py, 但是发现了一个问题

Failed to spawn: unable to launch iOS app: timeout  

I've tried multiple apps but they all have the same problem

问题具体分析

install frida on device and mac 之后,running the frida-ps command

devzkndeMacBook-Pro:~ devzkn$ frida-ps -Uai
PID  Name          Identifier                 
---  ------------  ---------------------------
824  Cydia         com.saurik.Cydia           
804  设置            com.apple.Preferences      
372  邮件            com.apple.mobilemail       
  • 但是Failed to spawn
devzkndeMacBook-Pro:~ devzkn$ frida -U -f com.apple.mobilemail 
     ____
    / _  |   Frida 10.6.27 - A world-class dynamic instrumentation framework
   | (_| |
    > _  |   Commands:
   /_/ |_|       help      -> Displays the help system
   . . . .       object?   -> Display information about 'object'
   . . . .       exit/quit -> Exit
   . . . .
   . . . .   More info at http://www.frida.re/docs/home/
Failed to spawn: unable to launch iOS app: timeout    

运行dump.py的时候也没用效果

devzkndeMacBook-Pro:~ devzkn$ /Users/devzkn/Downloads/frida-ios-dump-master/dump.py 邮件
open target app......
devzkndeMacBook-Pro:~ devzkn$

####Desktop 运行环境

  • 1、 frida version:10.6.27
devzkndeMacBook-Pro:~ devzkn$ frida --version
10.6.27
  • Mac version:10.13.1 (17B48)

Device 运行环境

  • jailbroken iPhone version:8.3
iPhone:/System/Library/CoreServices root# cat /System/Library/CoreServices/SystemVersion.plist|grep string*
	<string>12F70</string>
	<string>1983-2015 Apple Inc.</string>
	<string>iPhone OS</string>
	<string>8.3</string>

frida-server version:10.6.27

iPhone:~ root# frida-server --version
10.6.27

检查frida-server 是有运行的

iPhone:~ root# ps -e |grep frida-server
  999 ??         0:00.55 /usr/sbin/frida-server
 1103 ttys000    0:00.01 grep frida-server

google 的相关结果

Failed to spawn: unexpectedly timed out while waiting for app to launch

zhangkn avatar Dec 14 '17 06:12 zhangkn

Is a 32 bits device?

Because it might be a duplicated of Frida Issue#373

snooze6 avatar Dec 26 '17 15:12 snooze6