Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't download the files from iphone by ios-deploy #560

Open
chengjzh opened this issue Jul 22, 2022 · 1 comment
Open

I can't download the files from iphone by ios-deploy #560

chengjzh opened this issue Jul 22, 2022 · 1 comment

Comments

@chengjzh
Copy link

chengjzh commented Jul 22, 2022

Include the command line arguments you used for ios-deploy.

install_bundle cmd: ios-deploy -W --id {id} --bundle /Users/jenkins/Jenkins_Home/Workspace/workspace/Test.app
install successfully

push file to app:
ios-deploy -W --id {id} --upload alexhua_gestures_1280_720.yuv --to /Documents/input/alexhua_gestures_1280_720.yuv --bundle_id {bundle_id}

ios-deploy -W --id {id} --upload video_vbg_quality_gating_@alexhua_gestures_1280_720@1280_720@gpu.json --to /Documents/video_vbg_quality_gating_@alexhua_gestures_1280_720@1280_720@gpu.json --bundle_id {bundle_id}

push file successfully

create_dir_in_device:
ios-deploy -W --id {id} --mkdir /Documents/output --bundle_id {bundle_id}

make directory successfully

run_app_cmd: ios-deploy -L -W -m --id {id} -b Test.app --args "--mpt --trace_level 3 --pipeline_file /Documents/video_vbg_quality_gating_@alexhua_gestures_1280_720@1280_720@gpu.json"

run app successfully

pull output from device
pull_cmd: ios-deploy -W --id {id} --download=/Documents/output --to /video_vbg/video_vbg_quality_gating_@alexhua_gestures_1280_720@1280_720@gpu.output --bundle_id {bundle_id}

pull file succeeded.

So the problem is: didn't get any file on output under this folder.

Expected behavior

We should get files by pull command.
It should have the mask file(1M),log file(47K), dump file(6k)

Actual behavior.

It didn't get anything. But the second run is work. We also check the device log is also work.

Steps to reproduce the problem

Actually, it can't reproduce, but we met this issue sometimes. We don't know how to handle this issue.

System Specs

Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.

device: iphone6s, ios: 14.7

The version:
(base) MACMINI-SJC-DEV2:MPTTEMP jenkins$ ios-deploy -V
1.11.3
(base) MACMINI-SJC-DEV2:MPTTEMP jenkins$ sw_vers -productVersion
11.4
(base) MACMINI-SJC-DEV2:MPTTEMP jenkins$ xcodebuild -version
Xcode 12.5
Build version 12E262
(base) MACMINI-SJC-DEV2:MPTTEMP jenkins$ xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
(base) MACMINI-SJC-DEV2:MPTTEMP jenkins$ gcc --version
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.5 (clang-1205.0.22.9)
Target: x86_64-apple-darwin20.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
(base) MACMINI-SJC-DEV2:MPTTEMP jenkins$ lldb --version
lldb-1205.0.27.3
Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
(base) MACMINI-SJC-DEV2:MPTTEMP jenkins$

@zaphodikus
Copy link

Any updates on this, not having exact same folder I want access to, but having similar issue but with IOS 16.5 device . App folders and access to them have changed paths that I'm not aware of?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants