From 3013e69d280075e205c1e32203287c92a395ec74 Mon Sep 17 00:00:00 2001 From: Krystof Date: Fri, 21 Jun 2024 03:28:00 +0200 Subject: [PATCH] remove schemes --- app/metro-now-widgets/Core/Provider.swift | 2 +- app/metro-now.xcodeproj/project.pbxproj | 46 +++---- .../metro-now-watch Watch App.xcscheme | 92 -------------- .../metro-now-widgetsExtension.xcscheme | 114 ------------------ .../xcshareddata/xcschemes/metro-now.xcscheme | 78 ------------ 5 files changed, 19 insertions(+), 313 deletions(-) delete mode 100644 app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now-watch Watch App.xcscheme delete mode 100644 app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now-widgetsExtension.xcscheme delete mode 100644 app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now.xcscheme diff --git a/app/metro-now-widgets/Core/Provider.swift b/app/metro-now-widgets/Core/Provider.swift index 707c8855..e3f9b536 100644 --- a/app/metro-now-widgets/Core/Provider.swift +++ b/app/metro-now-widgets/Core/Provider.swift @@ -52,7 +52,7 @@ struct Provider: TimelineProvider { let currentLocation = locationManager.location guard let currentLocation else { - var entries: [WidgetEntry] = [] + let entries: [WidgetEntry] = [] let timeline = Timeline(entries: entries, policy: .atEnd) completion(timeline) return diff --git a/app/metro-now.xcodeproj/project.pbxproj b/app/metro-now.xcodeproj/project.pbxproj index acda78e9..9739410b 100644 --- a/app/metro-now.xcodeproj/project.pbxproj +++ b/app/metro-now.xcodeproj/project.pbxproj @@ -7,14 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 2D0E85CC2C213F6F00C53B60 /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */; }; - 2D0E85CD2C213F6F00C53B60 /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */; }; - 2D0E85CE2C213F6F00C53B60 /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */; }; - 2D0E85CF2C213F6F00C53B60 /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */; }; - 2D0E85D02C213F6F00C53B60 /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */; }; - 2D0E85D12C213F6F00C53B60 /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */; }; - 2D0E85D22C213F6F00C53B60 /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */; }; - 2D0E85D32C213F6F00C53B60 /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */; }; 2D1B2C3B2BFAD6CC007ED5EB /* LocationModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C3A2BFAD6CC007ED5EB /* LocationModel.swift */; }; 2D1B2C3C2BFAD6CC007ED5EB /* LocationModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C3A2BFAD6CC007ED5EB /* LocationModel.swift */; }; 2D1B2C3F2BFAD70F007ED5EB /* timeUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C3E2BFAD70F007ED5EB /* timeUtils.swift */; }; @@ -31,6 +23,7 @@ 2D1B2C502BFAD8ED007ED5EB /* metroRoutesTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C4E2BFAD8ED007ED5EB /* metroRoutesTypes.swift */; }; 2D1B2C522BFAD90B007ED5EB /* metroStationsTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C512BFAD90B007ED5EB /* metroStationsTypes.swift */; }; 2D1B2C532BFAD90B007ED5EB /* metroStationsTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C512BFAD90B007ED5EB /* metroStationsTypes.swift */; }; + 2D1D11832C25061A00C671CD /* StationLocationMapView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1D11822C25061A00C671CD /* StationLocationMapView.swift */; }; 2D350E672BFBE50600F68039 /* MapStationAnnotationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D350E662BFBE50600F68039 /* MapStationAnnotationView.swift */; }; 2D373CC22C0825790025BCDF /* ListWidgetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D373CC12C0825790025BCDF /* ListWidgetView.swift */; }; 2D4486862BFAA10A005C59CE /* metro_now_watchApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D4486852BFAA10A005C59CE /* metro_now_watchApp.swift */; }; @@ -41,7 +34,6 @@ 2D4D8F852C0010A5006F9080 /* networkUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D4D8F842C0010A5006F9080 /* networkUtils.swift */; }; 2D84CCA12BF8BD7500D2382B /* PlatformListViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D84CCA02BF8BD7500D2382B /* PlatformListViewModel.swift */; }; 2D9213E92C081D99004A37C2 /* WidgetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D9213E82C081D99004A37C2 /* WidgetView.swift */; }; - 2D94BD8E2C21DE250006CA04 /* StationLocationMapView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D94BD8D2C21DE250006CA04 /* StationLocationMapView.swift */; }; 2DC639DC2BF3CCBA00A72C7F /* metro_nowApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC639DB2BF3CCBA00A72C7F /* metro_nowApp.swift */; }; 2DC639DE2BF3CCBA00A72C7F /* PlatformListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC639DD2BF3CCBA00A72C7F /* PlatformListView.swift */; }; 2DC639E02BF3CCBC00A72C7F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2DC639DF2BF3CCBC00A72C7F /* Assets.xcassets */; }; @@ -54,6 +46,11 @@ 2DC63A222BF50EDD00A72C7F /* timeUtilsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC63A212BF50EDD00A72C7F /* timeUtilsTests.swift */; }; 2DC63A242BF5266700A72C7F /* metroUtilsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC63A232BF5266700A72C7F /* metroUtilsTests.swift */; }; 2DC63A262BF5280F00A72C7F /* jsonUtilsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC63A252BF5280F00A72C7F /* jsonUtilsTests.swift */; }; + 2DD3DEA92C07D319002233DE /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA72C07D319002233DE /* metro-stations.geojson */; }; + 2DD3DEAA2C07D319002233DE /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA72C07D319002233DE /* metro-stations.geojson */; }; + 2DD3DEAC2C07D319002233DE /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA82C07D319002233DE /* metro-routes.geojson */; }; + 2DD3DEAD2C07D319002233DE /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA82C07D319002233DE /* metro-routes.geojson */; }; + 2DD3DEB02C07EC22002233DE /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA72C07D319002233DE /* metro-stations.geojson */; }; 2DD3DEB32C07F737002233DE /* MediumWidgetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DD3DEB22C07F737002233DE /* MediumWidgetView.swift */; }; 2DD3DED22C080185002233DE /* SmallWidgetPlaceholderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DD3DED12C080185002233DE /* SmallWidgetPlaceholderView.swift */; }; 2DD3DED42C080240002233DE /* MediumWidgetPlaceholderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DD3DED32C080240002233DE /* MediumWidgetPlaceholderView.swift */; }; @@ -130,8 +127,6 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */ = {isa = PBXFileReference; lastKnownFileType = text; path = "metro-routes.geojson"; sourceTree = ""; }; - 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */ = {isa = PBXFileReference; lastKnownFileType = text; path = "metro-stations.geojson"; sourceTree = ""; }; 2D1B2C3A2BFAD6CC007ED5EB /* LocationModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocationModel.swift; sourceTree = ""; }; 2D1B2C3E2BFAD70F007ED5EB /* timeUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = timeUtils.swift; sourceTree = ""; }; 2D1B2C412BFAD72C007ED5EB /* jsonUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = jsonUtils.swift; sourceTree = ""; }; @@ -140,7 +135,7 @@ 2D1B2C4A2BFAD807007ED5EB /* fileUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = fileUtils.swift; sourceTree = ""; }; 2D1B2C4E2BFAD8ED007ED5EB /* metroRoutesTypes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = metroRoutesTypes.swift; sourceTree = ""; }; 2D1B2C512BFAD90B007ED5EB /* metroStationsTypes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = metroStationsTypes.swift; sourceTree = ""; }; - 2D1D11812C23B56A00C671CD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 2D1D11822C25061A00C671CD /* StationLocationMapView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StationLocationMapView.swift; sourceTree = ""; }; 2D350E662BFBE50600F68039 /* MapStationAnnotationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapStationAnnotationView.swift; sourceTree = ""; }; 2D373CC12C0825790025BCDF /* ListWidgetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ListWidgetView.swift; sourceTree = ""; }; 2D4486832BFAA10A005C59CE /* metro-now-watch Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "metro-now-watch Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -151,7 +146,6 @@ 2D4D8F842C0010A5006F9080 /* networkUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = networkUtils.swift; sourceTree = ""; }; 2D84CCA02BF8BD7500D2382B /* PlatformListViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlatformListViewModel.swift; sourceTree = ""; }; 2D9213E82C081D99004A37C2 /* WidgetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WidgetView.swift; sourceTree = ""; }; - 2D94BD8D2C21DE250006CA04 /* StationLocationMapView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StationLocationMapView.swift; sourceTree = ""; }; 2DC639D82BF3CCBA00A72C7F /* metro-now.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "metro-now.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 2DC639DB2BF3CCBA00A72C7F /* metro_nowApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = metro_nowApp.swift; sourceTree = ""; }; 2DC639DD2BF3CCBA00A72C7F /* PlatformListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlatformListView.swift; sourceTree = ""; }; @@ -166,6 +160,8 @@ 2DC63A212BF50EDD00A72C7F /* timeUtilsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = timeUtilsTests.swift; sourceTree = ""; }; 2DC63A232BF5266700A72C7F /* metroUtilsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = metroUtilsTests.swift; sourceTree = ""; }; 2DC63A252BF5280F00A72C7F /* jsonUtilsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = jsonUtilsTests.swift; sourceTree = ""; }; + 2DD3DEA72C07D319002233DE /* metro-stations.geojson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "metro-stations.geojson"; path = "../../../data/metro-stations.geojson"; sourceTree = ""; }; + 2DD3DEA82C07D319002233DE /* metro-routes.geojson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "metro-routes.geojson"; path = "../../../data/metro-routes.geojson"; sourceTree = ""; }; 2DD3DEB22C07F737002233DE /* MediumWidgetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MediumWidgetView.swift; sourceTree = ""; }; 2DD3DED12C080185002233DE /* SmallWidgetPlaceholderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SmallWidgetPlaceholderView.swift; sourceTree = ""; }; 2DD3DED32C080240002233DE /* MediumWidgetPlaceholderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MediumWidgetPlaceholderView.swift; sourceTree = ""; }; @@ -265,9 +261,9 @@ 2D1B2C542BFAD93F007ED5EB /* Data */ = { isa = PBXGroup; children = ( + 2DD3DEA82C07D319002233DE /* metro-routes.geojson */, + 2DD3DEA72C07D319002233DE /* metro-stations.geojson */, 2DF66D972BFD39B000B31FA2 /* test-coordinates.swift */, - 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */, - 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */, ); path = Data; sourceTree = ""; @@ -325,7 +321,6 @@ 2DC639DA2BF3CCBA00A72C7F /* metro-now */ = { isa = PBXGroup; children = ( - 2D1D11812C23B56A00C671CD /* Info.plist */, 2DC639E92BF3CD3900A72C7F /* Core */, 2DC639DB2BF3CCBA00A72C7F /* metro_nowApp.swift */, 2DC639DF2BF3CCBC00A72C7F /* Assets.xcassets */, @@ -383,9 +378,9 @@ 2DC63A062BF4C24C00A72C7F /* Map */ = { isa = PBXGroup; children = ( + 2D1D11822C25061A00C671CD /* StationLocationMapView.swift */, 2DC63A072BF4C25B00A72C7F /* MapView.swift */, 2D350E662BFBE50600F68039 /* MapStationAnnotationView.swift */, - 2D94BD8D2C21DE250006CA04 /* StationLocationMapView.swift */, ); path = Map; sourceTree = ""; @@ -597,9 +592,9 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2D0E85D22C213F6F00C53B60 /* metro-stations.geojson in Resources */, - 2D0E85D32C213F6F00C53B60 /* metro-routes.geojson in Resources */, 2D44868D2BFAA10B005C59CE /* Preview Assets.xcassets in Resources */, + 2DD3DEAD2C07D319002233DE /* metro-routes.geojson in Resources */, + 2DD3DEAA2C07D319002233DE /* metro-stations.geojson in Resources */, 2D44868A2BFAA10B005C59CE /* Assets.xcassets in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -608,9 +603,9 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2D0E85D02C213F6F00C53B60 /* metro-stations.geojson in Resources */, - 2D0E85D12C213F6F00C53B60 /* metro-routes.geojson in Resources */, 2DC639E32BF3CCBC00A72C7F /* Preview Assets.xcassets in Resources */, + 2DD3DEAC2C07D319002233DE /* metro-routes.geojson in Resources */, + 2DD3DEA92C07D319002233DE /* metro-stations.geojson in Resources */, 2DC639E02BF3CCBC00A72C7F /* Assets.xcassets in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -619,8 +614,6 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2D0E85CE2C213F6F00C53B60 /* metro-stations.geojson in Resources */, - 2D0E85CF2C213F6F00C53B60 /* metro-routes.geojson in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -628,9 +621,8 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 2DD3DEB02C07EC22002233DE /* metro-stations.geojson in Resources */, 2DF48A502C01F186002F754E /* Assets.xcassets in Resources */, - 2D0E85CC2C213F6F00C53B60 /* metro-stations.geojson in Resources */, - 2D0E85CD2C213F6F00C53B60 /* metro-routes.geojson in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -668,11 +660,11 @@ 2D1B2C3B2BFAD6CC007ED5EB /* LocationModel.swift in Sources */, 2D350E672BFBE50600F68039 /* MapStationAnnotationView.swift in Sources */, 2D1B2C422BFAD72C007ED5EB /* jsonUtils.swift in Sources */, - 2D94BD8E2C21DE250006CA04 /* StationLocationMapView.swift in Sources */, 2D1B2C3F2BFAD70F007ED5EB /* timeUtils.swift in Sources */, 2DC639DC2BF3CCBA00A72C7F /* metro_nowApp.swift in Sources */, 2D4D8F852C0010A5006F9080 /* networkUtils.swift in Sources */, 2DF66D982BFD39B000B31FA2 /* test-coordinates.swift in Sources */, + 2D1D11832C25061A00C671CD /* StationLocationMapView.swift in Sources */, 2DC63A002BF4B1E300A72C7F /* PlatformDetailView.swift in Sources */, 2DC63A022BF4B20E00A72C7F /* PlatformDetailDepartureListView:.swift in Sources */, 2DF48A712C02514E002F754E /* departuresResponseTypes.swift in Sources */, @@ -931,7 +923,6 @@ DEVELOPMENT_TEAM = R6WU5ABNG2; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "metro-now/Info.plist"; INFOPLIST_KEY_CFBundleDisplayName = "metro-now"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.navigation"; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs your location to find metro stations near you"; @@ -966,7 +957,6 @@ DEVELOPMENT_TEAM = R6WU5ABNG2; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "metro-now/Info.plist"; INFOPLIST_KEY_CFBundleDisplayName = "metro-now"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.navigation"; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs your location to find metro stations near you"; diff --git a/app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now-watch Watch App.xcscheme b/app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now-watch Watch App.xcscheme deleted file mode 100644 index 6f4d414c..00000000 --- a/app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now-watch Watch App.xcscheme +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now-widgetsExtension.xcscheme b/app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now-widgetsExtension.xcscheme deleted file mode 100644 index aec2b52b..00000000 --- a/app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now-widgetsExtension.xcscheme +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now.xcscheme b/app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now.xcscheme deleted file mode 100644 index 51e9decf..00000000 --- a/app/metro-now.xcodeproj/xcshareddata/xcschemes/metro-now.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -