Skip to content

tidevice can be used to communicate with iPhone device

License

Notifications You must be signed in to change notification settings

fpxtest/taobao-iphone-device

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
$ tidevice developer

# reboot device
$ tidevice reboot

$ tidevice screenshot screenshot.jpg

# collect performance (not ready yet)
$ tidevice perf -o fps,mem,cpu -B com.example.demo

DEVELOP

See DEVELOP

LICENSE

MIT

About

tidevice can be used to communicate with iPhone device

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.7%
  • Shell 2.3%