Skip to main content

Python wrapper around the xcrun utility

Project description

# xcrun

This is a Python wrapper around the xcrun utility that Apple provides for interacting with the various Xcode developer tools.

## simctl

simctl is the tool for interacting with the iOS simulator and is the main focus of this module. The syntax is designed to remain as close to that which would be used on the command line as possible. For example, to list all runtimes on the command line you would do:

xcrun simctl list runtimes

With this module you can print the result of:

xcrun.simctl.listall.runtimes()

Most functions are on the item that they affect. So instead of running something on a device like:

xcrun simctl do_thing <DEVICE_ID> arg1 arg2 …

You can do this:

iPhone7 = xcrun.simctl.device.from_name(“iPhone 7”) iPhone7.do_thing(arg1, arg2, …)

## Testing

To run the tests, all you need to do is run python3 -m tox (can be installed by running python3 -m pip install tox).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xcrun-0.3.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file xcrun-0.3.tar.gz.

File metadata

  • Download URL: xcrun-0.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for xcrun-0.3.tar.gz
Algorithm Hash digest
SHA256 a7fe270c541c92ea17066a7aad5bffb23d09d085970c8132c80cbf0b256fe183
MD5 fd4ebef35ace790c466c1a037686a7c9
BLAKE2b-256 69966dc6a4e3d0f25f4680214a1a2e54678f3afedc8f7c6f5357f4871e632d9a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page