Build for iOS, Web and Desktop

Google Flutter 11 min min read Updated: Nov 16, 2026 Intermediate
Build for iOS, Web and Desktop
Intermediate Topic 5 of 5

iOS and the App Store

You need a Mac with Xcode and an Apple Developer Program membership.

  1. Open ios/Runner.xcworkspace in Xcode.
  2. Set the Bundle Identifier (for example com.mycompany.myshop) and your Team under Signing & Capabilities.
  3. Set app name, version and icons.
  4. Run flutter build ipa --release, or use Product > Archive in Xcode.
  5. Upload with Xcode Organizer or the Transporter app.
  6. Test with TestFlight, then complete the listing in App Store Connect and submit for review.
bash flutter build ipa --release
Review rules: Apple reviews every app. Provide a working demo account, a privacy policy and honest descriptions, and explain every permission in Info.plist. If you offer other social logins, you may need Sign in with Apple.

Flutter for the Web

bash flutter run -d chrome flutter build web --release

The output is in build/web. Upload this folder to any static hosting.

HostingNotes
Firebase HostingSimple, free tier, custom domains
GitHub PagesFree for public repos, set the base href
Netlify / VercelDrag and drop or connect Git
Your own serverAny web server such as Nginx

Deploy to Firebase Hosting

bash pm install -g firebase-tools firebase login firebase init hosting # public directory: build/web, single-page app: yes flutter build web --release firebase deploy

Base href for Sub-folders

bash flutter build web --base-href /my-app/

Web Tips

  • Test the app in different browsers and window sizes
  • Use go_router for real URLs
  • Some packages do not support web. Check the platform badges on pub.dev
  • The first load is heavier than a normal website. Optimize images and fonts
  • SEO is limited for Flutter web, so it suits apps and dashboards more than content websites

Desktop

bash flutter config --enable-windows-desktop # usually enabled already in recent versions flutter create --platforms=windows,macos,linux . flutter run -d windows flutter build windows --release flutter build macos --release flutter build linux --release
PlatformBuild onNeeds
WindowsWindowsVisual Studio with the C++ desktop workload
macOSMacXcode
LinuxLinuxclang, cmake, ninja, GTK development packages

Adapt your UI for desktop: use keyboard shortcuts, mouse hover effects, resizable windows and a sidebar navigation (NavigationRail).

Continuous Integration

Automate analysis, tests and builds with GitHub Actions, Codemagic or Bitrise so that every commit is checked.

yaml # .github/workflows/ci.yml name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: channel: stable - run: flutter pub get - run: flutter analyze - run: flutter test

Conclusion

One Flutter codebase can reach phones, browsers and desktops. Each platform has its own store or hosting steps, but your Dart code stays the same.

Quick Summary: Use flutter build ipa, web and the desktop targets, test on each platform and automate with CI.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators