idb
idb copied to clipboard
pull file behaves differently between device and simulator
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
-
idbrevision: 1.0.10
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 ?
up