doc/articles/uno-publishing-ios.md
[!IMPORTANT] Publishing for iOS is only supported on macOS
First, you'll need to setup to be able to build iOS apps. You can follow these steps for publishing .NET iOS apps.
Then, you'll need to setup your csproj to include the signing information:
<Choose>
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<CodesignKey>iPhone Distribution</CodesignKey>
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
</PropertyGroup>
</When>
</Choose>
To build your app from the CLI on macOS:
Open a terminal, command line, or powershell
Navigate to your csproj folder
Publish the app using:
dotnet publish -f net10.0-ios -c Release -o ./publish
The output .ipa file will be in the publish folder.
Publishing your app is done through the transporter app on macOS.