:wave: Coming back to <this>. Our SwiftUI Preview...
# multiplatform
m
👋 Coming back to this. Our SwiftUI Previews are broken atm because our XCFramework is set up as static. 😞 We are aware that a dynamic framework should make the swiftui previews work, but we cannot change it to dynamic because we are integrating Firebase from Gitlive, and apparently, that requires the framework to be static, or it complains about not being able to link Firebase. Any ideas on how to bring back the previews?
f
are you using cocoapods?
m
No, I'm not, otherwise we could try doing the
linkOnly = true
approach
a
Did you consider moving UI intro a separate SPM module and do not use KMP data classes as UI models?
🙏 1
❤️ 1
m
We didn't think about that! I just quickly tested it and previews come back to life 😄 🎉 I will double-check with the team to see if that approach is something we would be happy to implement. Thank you for the suggestion!
🫠 1
👍 1