Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift Compiler Error (Xcode) x is only available in iOS 13.0 or newer #831

Open
YoussefLasheen opened this issue Jan 17, 2025 · 2 comments

Comments

@YoussefLasheen
Copy link

I get this error when building for ios using flutter 3.27.1 and stream_video_flutter: 0.7.1

Swift Compiler Error (Xcode): 'preventsDisplaySleepDuringVideoPlayback' is only available in iOS 13.0 or
newer
/Users/x/.pub-cache/hosted/pub.dev/stream_video_flutter-0.7.1/ios/Classes/PictureInPicture/Sam
pleBufferVideoCallView.swift:35:39


Swift Compiler Error (Xcode): 'AnyCancellable' is only available in iOS 13.0 or newer
/Users/x/.pub-cache/hosted/pub.dev/stream_video_flutter-0.7.1/ios/Classes/PictureInPicture/Str
eamPictureInPictureController.swift:47:36

and other classes
@Brazol
Copy link
Contributor

Brazol commented Jan 17, 2025

The stream_video_flutter package requires a minimum iOS deployment target of iOS 13.0. Please update your project’s iOS deployment target in ios/Podfile file:

platform :ios, '13'

@Brazol Brazol closed this as completed Jan 17, 2025
@YoussefLasheen
Copy link
Author

I forgot to mention that obviously my minimum target is higher than than 13. The plugin itself has the wrong minimum deployment target.

@Brazol Brazol reopened this Jan 18, 2025
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

No branches or pull requests

2 participants