NickAb / ios-utils

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Swift 100.0%