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
Describe the bug
When I add LiveKit to my Swift Package Module, it results in SwiftUI Previews breaking for that specific Swift Package. No changes to the package content seem to affect this issue; it solely arises when LiveKit is integrated, and is fixed when LiveKit is removed. I've prepared a minimal project below that effectively demonstrates this bug in action.
SDK Version
1.0.13
iOS/macOS Version
Xcode (so, simulator) issue
Steps to Reproduce
Add "LiveKit" dependency to the AppModule Package.swift
Try to preview AppModuleApp.swift
**Note: ** Switch the scheme (target) to AppModule
Expected: it previews like when LiveKit isn't added Actual: it crashes the Preview in Xcode (no import needed)
Screenshots
This is AppModuleApp.swift
** Please let me know if you need more information. I cannot figure out why this is breaking, but it's pretty bad since it greatly reduces dev productivity if we can't use Previews**
** Attached is a test project. Open AppModule/Package.swift and disable LiveKit. You'll be able to run Previews. Then, re-enable LiveKit, and Previews won't work. NO imports needed. **
Describe the bug
When I add LiveKit to my Swift Package Module, it results in SwiftUI Previews breaking for that specific Swift Package. No changes to the package content seem to affect this issue; it solely arises when LiveKit is integrated, and is fixed when LiveKit is removed. I've prepared a minimal project below that effectively demonstrates this bug in action.
SDK Version
1.0.13
iOS/macOS Version
Xcode (so, simulator) issue
Steps to Reproduce
AppModule
Package.swiftAppModuleApp.swift
**Note: ** Switch the scheme (target) to
AppModule
Expected: it previews like when LiveKit isn't added
Actual: it crashes the Preview in Xcode (no import needed)
Screenshots
This is
AppModuleApp.swift
** Please let me know if you need more information. I cannot figure out why this is breaking, but it's pretty bad since it greatly reduces dev productivity if we can't use Previews**
** Attached is a test project. Open
AppModule/Package.swift
and disable LiveKit. You'll be able to run Previews. Then, re-enable LiveKit, and Previews won't work. NO imports needed. **Test.zip
Logs
The text was updated successfully, but these errors were encountered: