stream-video-swift icon indicating copy to clipboard operation
stream-video-swift copied to clipboard

EXC_BREAKPOINT when using VideoRendererView and Swift 6

Open reddavis opened this issue 6 months ago • 3 comments

What did you do?

i've been experimenting with Stream for video calling.

one thing that will be

important for us is the ability to roll our own custom UI.

i've been playing around with something super basic

  1. setting up a StreamVideo using the test credentials provided in the docs
  2. creating a call
  3. joining the call
  4. using VideoRendererView to display the participants

What did you expect to happen?

the VideoRendererView's to render the video.

What happened instead?

EXC_BREAKPOINT (code=1, subcode=0x1016e2f18)
VideoRendererView 
line: 149
Image

after some poking around, i found that this crash only happens when Swift 6 is chosen.

it works fine on Swift 5.

i've attached a demo project.

if you build on Swift 6, you'll get the crash, but when you build with Swift 5 it'll work.

GetStream Environment

GetStream Video version: 1.31.0

GetStream Video frameworks: StreamVideo, StreamVideoSwiftUI

iOS version:

Tested on iOS26 and iOS18

Swift version:

  • 5 (works fine)
  • 6 (crashes)

Xcode version:

  • 26

Device:

iPhone 16

Additional context

StreamExample.zip

reddavis avatar Aug 30 '25 14:08 reddavis

Hey @reddavis,

Thanks for reaching out with this issue. You are absolutely and unfortunately - even though we have started the Swift 6 migration on our side - we haven't completed it.

It's now one of our priorities so you can expect that fixed in the following releases.

I'm sorry for the inconvenience and I'm glad that there is a workaround for now, while we finalise the migration.

Best regards, Ilias

ipavlidakis avatar Sep 01 '25 08:09 ipavlidakis

Hey @ipavlidakis !

Hope you had a great week, anything you can share from your end on how the migration is going?

estephinson avatar Oct 17 '25 16:10 estephinson

Hey @estephinson, I have no updates yet to share here as we are focusing on some other stuff. Our goal is this quarter. I'll keep you posted.

Best regards, Ilias

ipavlidakis avatar Oct 20 '25 08:10 ipavlidakis