Skip to content

tidevice can be used to communicate with iPhone device

License

Notifications You must be signed in to change notification settings

slldxmm/taobao-iphone-device

Repository files navigation

tidevice

tidevice

中文文档

Command line tool to communicate with iOS device, support the following functions

  • ipa install and uninstall
  • launch and kill app
  • list installed app info
  • retrieve performance data
  • screenshot
  • simulate run xctest, eg: WebDriverAgent
  • other

Install

pip3 install -U tidevice

Usage

Show version number

$ tidevice version
0.1.0

App management

$ tidevice install example.ipa
$ tidevice install https://example.org/example.ipa

$ tidevice uninstall com.example.demo

$ tidevice launch com.example.demo

$ tidevice kill com.example.demo

# show installed app list
$ tidevice applist

Run XCTest

$ tidevice xctest -B com.facebook.wda.WebDriverAgent.Runner

Other

# mount developer image (need more test)
$ tidevice developer

# reboot device
$ tidevice reboot

$ tidevice screenshot screenshot.jpg

# TODO(ssx): collect performance
# $ tidevice perf -o fps,mem,cpu -B com.example.demo

DEVELOP

See DEVELOP

Thanks

LICENSE

MIT

About

tidevice can be used to communicate with iPhone device

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.2%
  • Shell 1.8%