idb icon indicating copy to clipboard operation
idb copied to clipboard

pull file behaves differently between device and simulator

Open guyingzhao opened this issue 6 years ago • 2 comments

Description and Reproduction

device:

idb fill pull --udid 177C55A3-F7E6-487A-BBB1-F0B380406209 --bundle-id com.guying.foo xxxx.txt xxxx.txt

Then I got a xxxx.txt at current dirctory.

simulator:

idb fill pull --udid 177C55A3-F7E6-487A-BBB1-F0B380406209 --bundle-id com.guying.foo xxxx.txt xxxx.txt

Then I got a xxxx.txt directory and a xxxx.txt file inside it, namely, "xxxx.txt/xxxx.txt" at current directory

Solution

I think the behavior on device is ok, while the behavior on simulator wrongly taking the dst a fixed directory to pull file, so idb will firstly create directory and then pull the actual file into it.

Additional Information

  • idb revision: 1.0.10

guyingzhao avatar Mar 06 '20 03:03 guyingzhao

I am getting message like fileCommandsForApplicationContainers not supported on devices, requires a rooted device, though my ipa is developer signed. Any idea why this is happening ?

png995 avatar Feb 10 '22 18:02 png995

up

SergKhram avatar Jul 01 '22 10:07 SergKhram