go-ios icon indicating copy to clipboard operation
go-ios copied to clipboard

IOS would fail to launch the app after launch apps for more than 188 times

Open BruceChenZebra opened this issue 1 year ago • 3 comments

Describe the bug IOS would fail to launch the app after launch apps for more than around 188 times

Smartphone (please complete the following information):

  • Device: iPhone 11 and iPhone 13
  • OS: iOS 17 and iOS 18

Precondition I use windows to control iPhone

To Reproduce Steps to reproduce the behavior:

  1. use administrator permission to run the command: ios tunnel start
  2. run the code below to open apps for more than around 188 times image
  3. it would fail when the code open the app for more than around 188 times image

and then I use cmd to run the command ios launch com.google.Drive, it also encounter this error image

Expected behavior it should open the app normally

workaround I need to reboot the phone or use the xcode to rebuild a WebAgentDriver

BruceChenZebra avatar Sep 09 '24 08:09 BruceChenZebra

if I start an app and then close it, then I can start it more than 188 times without encountering this problem. image

BruceChenZebra avatar Sep 10 '24 00:09 BruceChenZebra

@BruceChenZebra , if you try launch/kill with --userspace tunnel instead kernel. Does it still work more than 188+ times?

stoktamisoglu avatar Oct 18 '24 08:10 stoktamisoglu

@BruceChenZebra Not sure but #503 can fix this problem. If you like build and give a test.

stoktamisoglu avatar Oct 28 '24 11:10 stoktamisoglu