The short answer
Flutter does not handle iOS signing itself; it leaves that to the Xcode settings in ios/Runner.xcworkspace. Registering the Bundle ID can be done in a browser. Choosing a Team, letting Xcode create the certificate and provisioning profile, and signing the archive all have to happen on macOS.
Which steps require macOS
Steps that need macOS
- Signing in to the developer account in Xcode and choosing a Team: the Flutter documentation does this under Signing & Capabilities of the Runner target, clicking Add Account... if the account has not been added.
- Automatic signing: the certificate's private key is generated in this Mac's keychain, and Xcode downloads the provisioning profile to the machine.
- The export stage of
flutter build ipa: it signs the archive with the certificate in the keychain.
Steps that do not need a Mac
- Joining the Apple Developer Program and registering the Bundle ID on the App IDs page of the developer portal (the official documentation suggests choosing Explicit App ID).
- Creating the app record in App Store Connect and selecting the newly registered Bundle ID under App Information.
Unlike Android, there is no single signing file you can put in the repository and use everywhere; the certificate, the provisioning profile and the Bundle ID all have to match.
How to do it on a remote Mac
Register the Bundle ID in a browser first
Sign in to the Apple Developer portal, create a new entry on the App IDs page, enter the app name, choose Explicit App ID and type the identifier, tick the services the app uses, and register. This identifier must later match the Bundle Identifier in Xcode exactly.
Open the Runner project on the remote Mac and sign in
open ios/Runner.xcworkspaceSelect the Runner target → Signing & Capabilities → Team. When you sign in, Apple sends the two-factor verification code to your own devices, so keep your phone within reach while you work in the remote desktop. We suggest an Apple Account used only for development.
Keep automatic signing on and confirm there are no red errors
Automatically manage signingis on by default. After you choose the Team, Xcode tries to create the certificate and provisioning profile. If your role in the team is not high enough, the error appears here and a team admin has to adjust your permissions. On the General tab, enter the Bundle Identifier you registered in step one.Export an ExportOptions.plist for later
Run
flutter build ipaonce, then, as the official documentation describes, open the archive underbuild/ios/archive/in Xcode and go through Distribute App. That flow produces an ExportOptions.plist. Commit it to the repository (it contains no private key) and use it for later builds:flutter build ipa --export-options-plist=path/to/ExportOptions.plistFor headless signing, see the command-line option in the official docs
The Flutter deployment documentation also describes signing in a temporary keychain with Codemagic CLI Tools: fetch or create the signing files with an App Store Connect API key (
app-store-connect fetch-signing-files … --create), import the certificate (keychain add-certificates), then make the project use those profiles (xcode-project use-profiles). This is a third-party open-source tool; its own documentation and the Flutter deployment documentation are the reference for the parameters.Export the certificate and private key before the rental ends
The private key exists only in the keychain of this remote Mac. After the rental ends the machine is reclaimed and wiped, so export the distribution certificate together with its private key as a p12 from Keychain Access and keep it in your own password manager or encrypted drive. Forgetting to export is not a disaster: revoke the old certificate and create a new one. Apps already on the store are not affected, but you will have to go through signing setup again.
FAQ
Can I create the certificate on Windows and then use it on the Mac?
The Flutter documentation offers no such flow; it assumes Xcode creates the certificate on a Mac. Whether generating the certificate request with other tools is technically workable, and how, is a matter for Apple's developer documentation. We have not verified it and do not recommend that route for a first release.
Runner shows "No signing certificate". What now?
First confirm the Team you chose is one enrolled in the Apple Developer Program and not a free personal team, then confirm your role is allowed to create certificates. A free account can only be used for testing on a device, not for App Store distribution.
Do I have to redo signing after changing the Bundle Identifier?
Yes. A provisioning profile is tied to a specific identifier. With automatic signing, Xcode requests a new profile for the new identifier; with manual signing you create and download one yourself in the developer portal.
Can you configure signing for me?
No. We provide the machine and an account with admin rights; we do not touch your developer account or certificates. Connection methods are described in the help center.
Related
- How do I build a Flutter iOS .ipa without owning a Mac?
- How do I upload a Flutter .ipa to TestFlight and the App Store without a Mac?
- How do I sign an iOS app and upload it to the App Store from a remote Mac?
- Can I sign in with my own Apple Developer account on a rented Mac?
- iOS without a Mac: a remote Mac mini can build, sign and upload, but not debug on a real device
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support