alibaba / alibaba/tidevice

requesting additional support for mjpegPort (mp) also along with wdaPort(p) for cmd: tidevice wdaProxy

Open
#305 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.6k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

tidevice -u $UDID wdaproxy -B RDSRunner.xctrunner -p 8100 -mp 9100

###add to main file
p = None
m = None
if args.port:
cmds = [
sys.executable, '-m', 'tidevice', '-u', d.udid, 'relay',
str(args.port), '8100'
]
p = subprocess.Popen(cmds, stdout=sys.stdout, stderr=sys.stderr)
if args.mjpegport:
cmds = [
sys.executable, '-m', 'tidevice', '-u', d.udid, 'relay',
str(args.mjpegport), '9100'
]
m = subprocess.Popen(cmds, stdout=sys.stdout, stderr=sys.stderr)

###add to main file

if args.port:
cmds = [
sys.executable, '-m', 'tidevice', '-u', d.udid, 'relay',
str(args.port), '8100'
]
p = subprocess.Popen(cmds, stdout=sys.stdout, stderr=sys.stderr)
if args.mjpegport:
cmds = [
sys.executable, '-m', 'tidevice', '-u', d.udid, 'relay',
str(args.mjpegport), '9100'
]
m = subprocess.Popen(cmds, stdout=sys.stdout, stderr=sys.stderr)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the tidevice wdaProxy CLI entry point and reproduce the command with -p 8100 and -mp 9100. Trace how the existing wdaPort option is handled, then verify that both requested local ports relay to 8100 and 9100 when the command runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.