Skip to main content

Deploying your Napacitor iOS App to the App Store

Because Napacitor apps are normal .NET MAUI apps, the way they are deployed to the App Store is just like any other MAUI iOS app. Building iOS apps requires macOS with Xcode installed.

Build and Publish​

Sync the latest web build, then build in Release configuration and produce an .ipa:

npx nap sync
npx nap build --target ios -c Release -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64

To produce a distributable .ipa directly from the CLI, use dotnet publish:

dotnet publish maui/App.csproj -f net10.0-ios -c Release -p:RuntimeIdentifier=ios-arm64

The .ipa is written to maui/bin/Release/net10.0-ios/ios-arm64/publish/. See the MAUI iOS publish documentation for the full set of options, including archive-based publishing through Xcode's Organizer.

Signing​

App Store submissions require a distribution certificate and provisioning profile. Configure them in maui/App.csproj:

<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<CodesignKey>Apple Distribution: …</CodesignKey>
<CodesignProvision>MyAppDistribution</CodesignProvision>
<EnableCodeSigning>true</EnableCodeSigning>
</PropertyGroup>

Capabilities your app needs must be declared in maui/Platforms/iOS/Entitlements.plist (see Configuration).

Submitting​

To start, consult the official Apple documentation on Submitting Apps to the App Store. See here for details on generating splash screens and icons for your app.

Before submission, make sure your app includes a Privacy Manifest if it uses any required-reason APIs.

Upload the .ipa with Transporter or xcrun altool, or archive and distribute from Xcode's Organizer, then complete the App Store Connect listing.