Skip to content

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

Open
@chengjzh

Description

@chengjzh

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@[email protected] --to /Documents/video_vbg_quality_gating_@alexhua_gestures_1280_720@[email protected] --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@[email protected]"

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@[email protected] --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$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions