Skip to content

Instantly share code, notes, and snippets.

@keith
Last active December 7, 2022 23:27
Show Gist options
  • Save keith/33d3e28de4217f3baecde15357bfe5f6 to your computer and use it in GitHub Desktop.
Save keith/33d3e28de4217f3baecde15357bfe5f6 to your computer and use it in GitHub Desktop.
All the subcommands of `xcrun simctl` (including ones that aren't listed in `simctl help`) LC_SOURCE_VERSION 776.1 (Xcode 13.0 beta 5)
addmedia
addphoto
addvideo
appinfo
boot
bootstatus
clone
create
darwinup
delete
diagnose
disk
erase
get_app_container
getenv
icloud_sync
install
install_app_data
io
keyboard
keychain
launch
list
listapps
logverbose
monitor
notify_get_state
notify_post
notify_set_state
openurl
pair
pair_activate
pbcopy
pbinfo
pbpaste
pbsync
privacy
push
register
rename
reset
runtime
shutdown
spawn
status_bar
terminate
ui
uninstall
unpair
unregister
upgrade
@DerekSelander
Copy link

Great work on this Keith. Just to "future-past-proof" this, can you provide the LC_SOURCE_VERSION to your /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/Resources/bin/simctl

@keith
Copy link
Author

keith commented Sep 26, 2019

Added to the description!

@KrauseFx
Copy link

Nice!

@matkuznik
Copy link

Awesome 👏

@keith
Copy link
Author

keith commented Sep 12, 2021

Collecting this list got a bit more difficult with newer versions. This most recent update was collected by attaching lldb to simctl, breaking on os_variant_has_internal_ui, and returning true, this forces simctl to print an extra help section for "Apple Internal Subcommands"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment