tab bar item disappears when clicked and sim cursor white

Hello, my Xcode app has worked just fine for the last few weeks, I have not changed anything and when I run it now, the tab bar disappears when the associated tab is selected, also stuff like the cursor, navigationbarbackbutton are all invisible or white. How can I fix this, not sure if it's an Xcode bug.

tab view:

    init() {

        let tabBarAppearance = UITabBarAppearance()

        tabBarAppearance.configureWithOpaqueBackground()

        UITabBar.appearance().scrollEdgeAppearance = tabBarAppearance

    }

content view:

        TabView(selection: $selectedTab){

            NavigationView(){

                FeedView()

            }

            .tabItem {

                Image(systemName: "h.circle")

            }.tag(1)

            NavigationView(){

                JobsView()

            }

            .tabItem {

                Image(systemName: "j.circle")

                    .tint(.gray)

            }.tag(2)
        }
tab bar item disappears when clicked and sim cursor white
 
 
Q