Skip to content
forked from NickAb/ios-utils

Command-line utils for iOS simulators for use in test automation.

License

Notifications You must be signed in to change notification settings

badoo/ios-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ios-utils

Command-line utils for iOS simulators. Use in automated tests to list or delete media assets and/or pasteboard items from a simulator.

Quickstart

  1. Clone the repository
    git clone https://github.com/NickAb/ios-utils.git
    cd ios-utils
    
  2. Build
    xcodebuild build -sdk iphonesimulator -scheme ios-utils -derivedDataPath ./build
  3. Launch on a booted simulator
    xcrun simctl spawn booted build/Build/Products/Debug-iphonesimulator/ios-utils.app/ios-utils help

Usage

Usage: xcrun simctl spawn booted <subcommand> ...

Subcommands:
    media <subcommand>         
        list                   List media assets
        delete                 Delete all media assets
    pasteboard <subcommand>    
        list                   List string and url pasteboard items
        delete                 Clear pasteboard
    help                       Print usage

License

ios-utils is MIT-licensed.

About

Command-line utils for iOS simulators for use in test automation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%