Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.63 KB

DEVELOP.md

File metadata and controls

48 lines (34 loc) · 1.63 KB

DEVELOP

Doc for developers

Clone code to local

git clone --depth 5 https://github.com/alibaba/tidevice

Certificate

各种安全证书间的关系及相关操作

Pair

  1. Retrieve Device Public Key from device
  2. Generate Host Key

View DeveloperDiskImage Content

For example

hdiutil mount /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/14.0/DeveloperDiskImage.dmg
tree /Volumes/DeveloperDiskImage

How to Package WDA.ipa

Build WebDriverAgentRunnerUITests-Runner.app with the following command. .app should located in /tmp/derivedDataPath/Release-iphoneos

xcodebuild build-for-testing -workspace WebDriverAgent.xcworkspace/ -scheme WebDriverAgent -sdk iphoneos -configuration Release -derivedDataPath /tmp/derivedDataPath

Created folder Payload and put .app into it, then compressed to zip, change extention name to .ipa, and resign. That's all.

Publish package to Pypi using Github Actions

Ref: https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

References