UI Tests on "My Mac (Designed for iPad)" - Apple Silicon

Due to some of what we do with the Metal API in our iOS app, we are unable use Simulator for development / testing purposes.

With the introduction of Apple Silicon, we are able to run/build to the "My Mac (Designed for iPad)" destination for our app.

However, when we try running UI tests with that destination we get the message "Cannot test target <ui_test_target> on "My Mac": UI tests are not supported ..."

Wondering if there's a way to run UI tests against the "My Mac (Designed for iPad)" destination?

Hello!

If your app is a Mac Catalyst app, you should be able to run UI tests on it by using the Catalyst app target with your UI test scheme

Here is some documentation on setting up Mac Catalyst with your app:

https://developer.apple.com/documentation/uikit/mac_catalyst/creating_a_mac_version_of_your_ipad_app

UI Tests on "My Mac (Designed for iPad)" - Apple Silicon
 
 
Q