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

feat: support iOS Simulator #29

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

Vancheung
Copy link

  1. 支持获取模拟器列表命令::xcrun simctl list devices
  2. 在list_devices()、udid2name()方法中支持获取已启动的模拟器udid、名称
  3. 在udid2product()方法中增加iPhone 12、iPhone 13机型,且在ideviceinfo获取不到ProductType时返回iPhone Simulator
  4. 调整run_webdriveragent方法,先指定self._wda_port和self._mjpeg_port,如果设备类型为模拟器,则xcodebuild wda时增加['USE_PORT=' + str(self._wda_port), 'MJPEG_SERVER_PORT=' + str(self._mjpeg_port)],且无需执行./iproxy.sh

@chenhengjie123
Copy link
Contributor

很棒的PR,合并了。

@chenhengjie123 chenhengjie123 merged commit 2640326 into openatx:master Jan 5, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants