⚠️ The Xamarin development platform is not officially supported. [More info](https://blog.bitrise.io/post/xamarin-support-ends-in-2022-on-bitrise)
Xamarin iOS Test
Use solution configuration-platform combination for automatig tests, which maps to an ios project configuration-platform combination, which:
Initialize you ios app in your UITest project as follows:
iOSAppConfigurator iosConfigurator = ConfigureApp.iOS;
string appBundlePath = Environment.GetEnvironmentVariable("APP_BUNDLE_PATH");
if (!string.IsNullOrEmpty(appBundlePath))
{
iosConfigurator.AppBundle(appBundlePath);
}
string simulatorUDID = Environment.GetEnvironmentVariable("IOS_SIMULATOR_UDID");
if (!string.IsNullOrEmpty(simulatorUDID))
{
iosConfigurator.DeviceIdentifier(simulatorUDID);
}
return iosConfigurator.StartApp();