1.8 KiB
xcode-simulator-cert
This is a tool to manage Xcode simulators and their root certificates.
If you have a certificate for your server in PEM format in a file myhost.crt
, type:
$ xcode-simulator-cert install-ca myhost.crt
It will then install the certificate in all your simulators. You can also specify a specific simulator:
$ xcode-simulator-cert install-ca myhost.crt --device-name="iPhone 8"
There are also some other subcommands and options available. --help
is your friend.
Installation
Using Homebrew
Homebrew is the de-facto standard package manager for macOS open-source tools and other things.
$ brew install skagedal/formulae/xcode-simulator-cert
Using Mint
Mint is a pretty nice package manager for Swift Package Manager-based projects, such as this one.
$ mint install skagedal/xcode-simulator-cert
Development
If you'd like to hack on xcode-simulator-cert
, you may run generate-xcodeproj.sh
to generate an Xcode project.
Acknowledgements
This tool is largely based on the work of Daniel Cerutti and his ADVTrustStore tool. xcode-simulator-cert
doesn't do much more than what his tool does at the moment. I mostly just wanted to rewrite it in Swift.