Skip to content

xctool

Run tests using xctool

You can run any xctool action. This will require having xctool installed through Homebrew.
It is recommended to store the build configuration in the .xctool-args file.
More information: https://docs.fastlane.tools/actions/xctool/.

xctool
Supported platforms ios, mac
Author @KrauseFx

2 Examples

xctool(:test)
# If you prefer to have the build configuration stored in the `Fastfile`:
xctool(:test, [
  "--workspace", "'AwesomeApp.xcworkspace'",
  "--scheme", "'Schema Name'",
  "--configuration", "Debug",
  "--sdk", "iphonesimulator",
  "--arch", "i386"
].join(" "))


To show the documentation in your terminal, run

fastlane action xctool

View source code


Back to actions