danielpaulus / go-ios

This is an operating system independent implementation of iOS device features. You can run UI tests, launch or kill apps, install apps etc. with it.
MIT License
911 stars 178 forks source link

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

Open BruceChenZebra opened 2 weeks ago

BruceChenZebra commented 2 weeks ago

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):

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 commented 2 weeks ago

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