Skip to content

Xcode live issues don't show in plugin example app when integrated with SwiftPM #179032

@vashworth

Description

@vashworth

Steps to reproduce

  1. Enable SwiftPM flutter config --enable-swift-package-manager
  2. Generate files for example app (such as https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences_foundation/example)
    flutter build ios --config-only
  3. Open example app in Xcode
  4. Add bogus string to Swift file

Expected results

It is expected that Xcode should give live inline errors

Image

Actual results

However, it currently doesn't.

Image

Code sample

https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences_foundation/example

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.39.0-1.0.pre-205, on macOS 15.7.2 24G325 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 (4 available)
[✓] Network resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-iosiOS applications specificallyplatform-macBuilding on or for macOS specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementteam-iosOwned by iOS platform teamtriaged-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