Cake.Xamarin

A set of aliases for Cake to help with Xamarin projects.

#addin nuget:?package=Cake.Xamarin&version=3.1.0

<package id="Cake.Xamarin" version="3.1.0" />

dotnet add package Cake.Xamarin --version 3.1.0

<PackageReference Include="Cake.Xamarin" Version="3.1.0" />

Aliases

Xamarin related cake aliases.

General

BuildAndroidApk(ICakeContext, FilePath, bool, string, Action<MSBuildSettings>) Creates an android .APK package file using the MSBuild target `SignAndroidPackage` See documentation for more info: https://developer.xamarin.com/guides/android/under_the_hood/build_process/#Build_Targets
BuildiOSIpa(ICakeContext, FilePath, string, string, Action<MSBuildSettings>) Creates an IPA archive of an iOS Appof an app with MDTool Change your project settings to output an IPA file, and use the MSBuild to build. See documentation for more info: https://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/app_distribution/ipa_support/#Building_via_the_Command_Line_On_Mac
PackageComponent(ICakeContext, DirectoryPath, XamarinComponentSettings) Packages the component for a given component YAML configuration file
RestoreComponents(ICakeContext, FilePath, XamarinComponentRestoreSettings) Restores Xamarin Components for a given project
SubmitComponent(ICakeContext, FilePath, XamarinComponentSubmitSettings) Submits a .xam component package which is a brand new component on the store and has no previous versions
SubmitComponents(ICakeContext, XamarinComponentSubmitSettings, string[]) Finds and Submits .xam component packages which match the globbing patterns
TestCloud(ICakeContext, FilePath, string, string, string, DirectoryPath, TestCloudSettings) Uploads an android .APK package to TestCloud and runs UITests
UITest(ICakeContext, FilePath, NUnitSettings) Runs UITests in a given assembly using NUnit
UploadComponent(ICakeContext, FilePath, XamarinComponentUploadSettings) Uploads a .xam component package which is a new version of an existing component in the store
UploadComponents(ICakeContext, XamarinComponentUploadSettings, string[]) Finds and Uploads .xam component packages which match the globbing patterns
VSToolSetup Gets a runner for invoking the Visual Studio Mac Add-in Setup Utility.