You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[video_player] Missing Swift version can cause compile issues when using CocoaPods #186232
video_player_avfoundation does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.
Actual results
[!] Unable to determine Swift version for the following pods:
video_player_avfoundation does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.
Logs
Logs
[!] Unable to determine Swift version for the following pods:video_player_avfoundation does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):[✓] Flutter (Channel stable, 3.41.7, on macOS 26.4.1 25E253 darwin-arm64, locale zh-Hans-CN)[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)[✓] Xcode - develop for iOS and macOS (Xcode 26.2)[✓] Chrome - develop for the web[✓] Connected device (3 available)[✓] Network resources• No issues found!
changed the title [-]video_player_avfoundation error[/-][+][video_player] Missing Swift version can cause compile issues when using CocoaPods[/+]on May 8, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
saurabh-mirajkar commentedon May 8, 2026
@chjsun Thanks for the report.
To make this actionable, could you please provide:
pubspec.yamlvideo_player_avfoundationversions before/afterflutter pub upgradestuartmorgan-g commentedon May 8, 2026
No need for a repro case here; this is a mistake in the PR I landed yesterday.
[-]video_player_avfoundation error[/-][+][video_player] Missing Swift version can cause compile issues when using CocoaPods[/+][video_player] Add missing swift_version to podspec (#11670)
github-actions commentedon May 22, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.[video_player] Add missing swift_version to podspec (flutter#11670)