Skip to content

Conversation

@0xymoro
Copy link

@0xymoro 0xymoro commented Oct 15, 2025

Fix for:

Build issue when trying to include the LiveKit CocoaPods package inside the broadcast extension (followed this guide for cocoapods https://github.com/livekit/client-sdk-swift/blob/main/Docs/cocoapods.md), and getting the following error: ".../Pods/LiveKitClient/Sources/LiveKit/Track/Capturers/CameraCapturer.swift:97:32 'LKRTCCameraVideoCapturer' is unavailable in application extensions for iOS: Camera not available in app extensions." Looks like it's caused by the camera capture code being compiled into the extension target, which isn't allowed by iOS, even though only the LKSampleHandler is needed.

@CLAassistant
Copy link

CLAassistant commented Oct 15, 2025

CLA assistant check
All committers have signed the CLA.

@pblazej
Copy link
Contributor

pblazej commented Oct 15, 2025

@0xymoro thank you for the fix, can you try testing this existing PR instead? #811

@0xymoro 0xymoro marked this pull request as draft October 15, 2025 19:58
@0xymoro 0xymoro marked this pull request as ready for review October 15, 2025 20:22
@0xymoro 0xymoro marked this pull request as draft October 15, 2025 21:58
@0xymoro
Copy link
Author

0xymoro commented Oct 15, 2025

Actually believe we need more than this to fix for extension - we're doing this on our side and building but running into more bugs. will figure out

@0xymoro
Copy link
Author

0xymoro commented Oct 16, 2025

We fixed our issue by forking, adding a subspec, and some tweaks. We saw 2.8.1 broke so we did these changes on top of 2.7.0 and now broadcast with subspec works properly.

@0xymoro
Copy link
Author

0xymoro commented Oct 16, 2025

Actually running into lots of trouble w app validation and framework/embeddings. Waiting on official fix for now while we tinker more, we can build it alright but just can't deploy to app store/testflight.

@pblazej
Copy link
Contributor

pblazej commented Oct 16, 2025

@0xymoro could you be a little more specific

into lots of trouble w app validation

are you referring to this issue? cc @hiroshihorie

@0xymoro
Copy link
Author

0xymoro commented Oct 16, 2025

Subspec did not work but entirely diff spec did work. This is hacky and we had to rewrite a good bunch of things other than the simple fix so closing this for now

@0xymoro 0xymoro closed this Oct 16, 2025
@hiroshihorie
Copy link
Member

Hi @0xymoro , #811 seems to fix compile issues but what other issues have you ran into ? Would be great to know more details.

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

Successfully merging this pull request may close these issues.

4 participants