From 0f979fdfaf1c29e1b8f56171a9f48577bc9d8e9c Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sun, 10 Nov 2024 09:24:29 +0100 Subject: [PATCH] Fix build --- IceCubesApp.xcodeproj/project.pbxproj | 4 ++++ IceCubesApp/App/Main/AppView.swift | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/IceCubesApp.xcodeproj/project.pbxproj b/IceCubesApp.xcodeproj/project.pbxproj index 128b028e..5e626809 100644 --- a/IceCubesApp.xcodeproj/project.pbxproj +++ b/IceCubesApp.xcodeproj/project.pbxproj @@ -698,6 +698,7 @@ CODE_SIGN_IDENTITY = "-"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=xros*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 730; DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; @@ -733,6 +734,7 @@ CODE_SIGN_IDENTITY = "-"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=xros*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 730; DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; @@ -1042,6 +1044,7 @@ CODE_SIGN_IDENTITY = "-"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=xros*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 730; DEAD_CODE_STRIPPING = YES; @@ -1108,6 +1111,7 @@ CODE_SIGN_IDENTITY = "-"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=xros*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 730; DEAD_CODE_STRIPPING = YES; diff --git a/IceCubesApp/App/Main/AppView.swift b/IceCubesApp/App/Main/AppView.swift index 343bf755..b8ab8e47 100644 --- a/IceCubesApp/App/Main/AppView.swift +++ b/IceCubesApp/App/Main/AppView.swift @@ -33,7 +33,11 @@ struct AppView: View { case .vision: tabBarView case .pad, .mac: - sidebarView + #!os(visionOS) + sidebarView + #else + tabBarView + #endif default: tabBarView }