Skip to content

flutter create on an existing iOS Obj-C app adds Swift files #178699

@vashworth

Description

@vashworth

Steps to reproduce

  1. Use spell_check integration test as a sample: https://github.com/flutter/flutter/tree/master/dev/integration_tests/spell_check
  2. Run flutter create --platforms ios .
  3. Notice an AppDelegate.swift get generated despite there already being an Obj-C AppDelegate.

Actual results

No Swift files

Logs

Logs
<!-- Paste your logs here -->

Flutter Doctor output

Doctor output
[!] Flutter (Channel [user-branch], 3.39.0-1.0.pre-169, on macOS 15.7.1 24G231 darwin-arm64, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.0)
[✓] Chrome - develop for the web
[✓] Connected device (5 available)
[✓] Network resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions