I got this working for some reason the issue was a multiplatform target. I switched to a iOS only target and it's working fine.
Topic:
UI Frameworks
SubTopic:
SwiftUI