Skip to content

feat(flet-build): Support iOS simulators as build targets - #6188

Merged
FeodorFitsner merged 21 commits into
mainfrom
ios-simulator
Feb 19, 2026
Merged

FeodorFitsner merged 21 commits into
mainfrom
ios-simulator

Conversation

@ndonkoHenri

@ndonkoHenri ndonkoHenri commented Feb 19, 2026 •

Copy link
Copy Markdown
Contributor

Build command: flet build ios-simulator
It builds a .app bundle which can be drag-dropped on iOS simulators, just like flet build apk output is drag-dropped on android emulators.

Summary by Sourcery

Add support for building iOS simulator .app bundles via flet build ipa-simulator, improve Android build artifact naming, and expand publishing documentation and CI examples, including GitHub Pages hosting.

New Features:

  • Introduce ios-simulator as a new iOS simulator build target in the Flet CLI, producing unsigned .app bundles for iOS Simulator.
  • Document and exemplify using GitHub Actions to build Flet apps for all major targets, including the new iOS simulator target.
  • Add a step-by-step guide and workflow example for hosting Flet static web apps on GitHub Pages.

Bug Fixes:

  • Ensure web static-site documentation correctly links CLI flags to their detailed reference pages.

Enhancements:

  • Generalize iOS build documentation to distinguish simulator builds from device/IPA builds and clarify configuration option hierarchies.
  • Rename Android APK/AAB release artifacts in the output directory to honor user-configured artifact names while preserving ABI-specific suffixes.
  • Clarify publishing docs around target platform values and how underlying flutter build commands are invoked.

CI:

  • Update the flet-build-test GitHub Actions workflow to build and upload artifacts for the new ipa-simulator target and streamline build commands.

Documentation:

  • Update publishing and iOS docs to include the ios-simulator target, its requirements, and usage examples.
  • Improve GitHub Actions documentation with an annotated matrix-build workflow covering desktop, mobile, and web targets.
  • Refine navigation and wording in publishing docs, including adding GitHub Pages under web static-site hosting and clarifying permission bundles.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Feb 19, 2026 •

Copy link
Copy Markdown

Deploying flet-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 95717ad
Status:⚡️  Build in progress...

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Feb 19, 2026 •

Copy link
Copy Markdown

Deploying flet-examples with  Cloudflare Pages  Cloudflare Pages

Latest commit: 95717ad
Status: ✅  Deploy successful!
Preview URL: https://e36245ad.flet-examples.pages.dev
Branch Preview URL: https://ios-simulator.flet-examples.pages.dev

View logs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for building iOS simulator .app bundles via the flet build ios-simulator command, enabling developers to test their Flet apps on iOS Simulator without requiring Apple Developer Program membership, signing certificates, or provisioning profiles. The PR also includes improvements to Android artifact naming, expanded documentation for GitHub Actions workflows, and a new GitHub Pages hosting guide.

Changes:

  • Introduced ios-simulator as a new build target that produces unsigned .app bundles for iOS Simulator testing
  • Implemented Android APK/AAB artifact renaming to honor user-configured names while preserving ABI-specific suffixes
  • Added comprehensive GitHub Actions workflow examples for all build targets and GitHub Pages deployment documentation

Reviewed changes

Copilot reviewed 9 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sdk/python/packages/flet/mkdocs.yml Updated navigation to remove "Overview:" prefix and add GitHub Pages hosting page
sdk/python/packages/flet/docs/publish/web/static-website/index.md Added hyperlinks to CLI reference documentation for web static site configuration flags
sdk/python/packages/flet/docs/publish/web/static-website/hosting/github-pages.md New comprehensive guide for deploying Flet web apps to GitHub Pages with annotated workflow example
sdk/python/packages/flet/docs/publish/ios.md Added ios-simulator section, restructured documentation to distinguish simulator from device builds, fixed typo in Info.plist description
sdk/python/packages/flet/docs/publish/index.md Updated to include ios-simulator target throughout, improved documentation formatting and clarity, expanded GitHub Actions example with annotations
sdk/python/packages/flet-cli/src/flet_cli/commands/build_base.py Added ios-simulator platform configuration, implemented Android artifact renaming, updated help text and splash screen handling
sdk/python/packages/flet-cli/src/flet_cli/commands/build.py Added ios-simulator to target choices and implemented --simulator flag for flutter build
sdk/python/examples/community/mind_queue/* Added new community example app (Mind Queue productivity app)
sdk/python/examples/apps/flet_build_test/pyproject.toml Updated artifact name and added iOS AdMob configuration for testing
.github/workflows/flet-build-test.yml Updated workflow to use ios-simulator target, removed hardcoded build version variables, renamed environment variable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/flet-build-test.yml Resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@FeodorFitsner
FeodorFitsner merged commit ce123ab into main Feb 19, 2026
36 of 39 checks passed
@FeodorFitsner
FeodorFitsner deleted the ios-simulator branch February 19, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Guide for Flet app running on Github Pages

3 participants