Skip to main content

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).

Metadata

Release files for xcrun 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xcrun 0.4
File Size Uploaded
xcrun-0.4.tar.gz 8.1 kB Details

Release files / xcrun-0.4.tar.gz

Download URL xcrun-0.4.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b183adb07486b409d64218f39f274f7cc6f731cae9ca8b781804d3b75aa0bb10
BLAKE2b-256 checksum
How to use checksums
535a2a2e693df8a1e656b3ccdd48a8a27ca837f4023f0bd6664b68e815ea0fc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.4 This release

1 release file

0.3

1 release file

0.2

1 release file

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page