@muskaan21 I'm sorry, but I think you missed that I'm working in a Swift Package, and not an application. Your instructions would probably work for an application, but not for a package.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: