tweaselORG / appstraction

An abstraction layer for common instrumentation functions (e.g. installing and starting apps, setting preferences, etc.) on Android and iOS.
MIT License
4 stars 1 forks source link

iOS: Starting apps fails if the device is locked #85

Open zner0L opened 1 year ago

zner0L commented 1 year ago

We should note somewhere that the device needs to be unlocked in order to start an app. This is true for the frida method to start apps as well as the open method, which fails with:

Couldn't open application: <bundle id>. Reason: 3, device locked

This caused the example script to fail for me sometimes, because the device would go into standby while it was running. We should also recommend to turn that off (or do it ourselves?).

baltpeter commented 1 year ago

The settings I use disable auto-lock: https://github.com/tweaselORG/meta/issues/4#issuecomment-1418745999