How to configure CircleCI for iOS testing

A practical guide on how to configure the circle.yml file for iOS testing.

1 Like

This is awesome, thanks so much for sharing!

By default CircleCI uses xctool to run tests, but xctool does not support UIAutomation at the moment. See this issue.

I disabled the target for the UI Test within the shared testing scheme to prevent the project from failing.

Thanks for the tip @einfallstoll.

I usually remove that target from the main scheme because running the UI tests slows down the whole feedback loop.

Does this still apply to current circle ci? Do you support UIAutomation yet? I tried and it failed to find the element. Xcode UI Test failed