idb file tool failed, error msg like this: fileCommandsForApplicationContainers not supported on devices, requires a rooted device
luchihao opened this issue · 1 comments
luchihao commented
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
triplef commented
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.