idb icon indicating copy to clipboard operation
idb copied to clipboard

idb file tool failed, error msg like this: fileCommandsForApplicationContainers not supported on devices, requires a rooted device

Open luchihao opened this issue 1 year ago • 1 comments

Description

If I try to run idb file command on the physical device, then I get the following error: fileCommandsForApplicationContainers not supported on devices, requires a rooted device

Reproduction

Environment: Xcode 14.2 iPhone13 device with iOS 15.0


$ idb file ls --application xxxxx --udid xxxxxx

fileCommandsForApplicationContainers not supported on devices, requires a rooted device

Additional Information

  • idb revision: latest

luchihao avatar Apr 23 '23 05:04 luchihao

Running into the same issue. I found that using --bundle-id instead of --application works fine, e.g.:

idb file ls --bundle-id com.example.my-app-id Documents

Same for the other file commands like push/pull/etc..

Not that it’s giving me this warning, but the suggestion does not work and causes "requires a rooted device":

 [WARNING] - list - '--bundle-id com.example.my-app-id' is deprecated, please use --application prefixing 'com.example.my-app-id' in the file path/s provided to this command.

triplef avatar Jan 15 '24 20:01 triplef