betterplayer icon indicating copy to clipboard operation
betterplayer copied to clipboard

[BUG/question] missing swift version

Open marcoberetta96 opened this issue 3 years ago • 4 comments

History check Done.

Describe the bug When running pod install with better_player: 0.0.81 I get the following:

[!] Unable to determine Swift version for the following pods:

- `better_player` 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.

Simple question is: why better_player.podspec doesn't declare a swift version?

Flutter doctor

[✓] Flutter (Channel stable, 2.8.1)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.2)
[✓] Connected device (4 available)

Better Player version

  • Version: 0.0.81

marcoberetta96 avatar Jan 09 '22 17:01 marcoberetta96

I have the same error how you solve it?

Phoenix-H22 avatar Feb 17 '22 03:02 Phoenix-H22

Just by specifing a swift version in better_player.podspec. Cannot get why it's not done by this package itself.

marcoberetta96 avatar Feb 17 '22 12:02 marcoberetta96

I have the same error how you solve it?

BarcaNeymar avatar Jul 20 '22 09:07 BarcaNeymar

Just by specifing a swift version in better_player.podspec.

marcoberetta96 avatar Jul 20 '22 09:07 marcoberetta96

@jhomlala can we please fix this?

via-guy avatar Dec 06 '22 08:12 via-guy