Visual Studio App Center is scheduled for retirement on March 31, 2025. While you can continue to use Visual Studio App Center until it is fully retired, there are several recommended alternatives that you may consider migrating to.
It isn't possible to run local iOS tests on Windows.
This guide will discuss how to specify an iOS simulator when running tests locally on macOS.
Each iOS simulator that's configured on an Apple device will have a unique device identifier assigned to it. UITest will use this device identifier to start the intended iOS simulator.
A UITest must use the IApp.DeviceIdentifier method to provide the device identifier:
There are two ways to list the simulators and their device identifiers:
The first way to identify available simulators is to start up Terminal and type xcrun xctrace list devices. The following output will display a list of known devices:
Xcode provides another way to obtain a list of devices and their device identifiers. Once Xcode is running, select Window > Devices and Simulators:
]
Xcode will present a window showing attached devices. Select Simulators in the window to see installed simulators. When a simulator is selected the device identifier can be seen in the right-hand side of the window:
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under: https://aka.ms/ContentUserFeedback.