Skip to content

Fixed cache interval for the location forecasts

c0323a0
Select commit
Loading
Failed to load commit list.
Merged

Fix reported bugs #321

Fixed cache interval for the location forecasts
c0323a0
Select commit
Loading
Failed to load commit list.
Xcode Cloud / WeatherXM | Unit tests | wxm-ios - iOS succeeded Nov 3, 2025 in 40m 6s

39 warnings

Report Summary
Errors 0
Test Failures 0
Analysis Issues 0
Warnings 39

Details

39 Warnings

Details

  PresentationLayer/UIComponents/Screens/DeviceInfo/DeviceInfoFactory.swift:32
      TODO: Format when info is ready
  PresentationLayer/UIComponents/BaseComponents/TrackableScrollView/TrackableScroller.swift:192
      'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.
  WeatherXMTests/DataLayer/Services/UserDevicesServiceTests.swift:37
      Comparing non-optional value of type 'NetworkDevicesResponse' to 'nil' always returns true
  PresentationLayer/UIComponents/Screens/DeviceInfo/DeviceInfoViewModel.swift:190
      Initialization of immutable value 'photosError' was never used; consider replacing with assignment to '_' or removing it
  'DataLayer' is missing a dependency on 'DGCharts' because dependency scan of Swift module 'DataLayer' discovered a dependency on 'DGCharts'
  WeatherXMTests/PresentationLayer/ViewModels/ExplorerViewModelTests.swift:63
      Comparing non-optional value of type 'GeoJSONSource' to 'nil' always returns true
  WeatherXMTests/Toolkit/FoundationExtensionsTests.swift:65
      Initialization of immutable value 'negativeIndex' was never used; consider replacing with assignment to '_' or removing it
  WeatherXMTests/DomainLayer/UseCases/DeviceDetailsUseCaseTests.swift:42
      Comparing non-optional value of type 'EmptyEntity' to 'nil' always returns true
  PresentationLayer/UIComponents/Screens/PhotoVerification/GalleryView/GalleryViewModel.swift:263
      'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'GalleryView.GalleryImage', consider removing it
  PresentationLayer/UIComponents/MapBox/MapBoxMapView.swift:89
      'userInfo' is deprecated: Use customData instead.
  file:///Volumes/workspace/tmp/swift-generated-sources/@__swiftmacro_14WeatherXMTests0025MeUseCaseTestsswift_jqFBgfMX93_4_33_486F774C01BE9035673BBBC97953AD2ELl6expectfMf_.swift:1
      No calls to throwing functions occur within 'try' expression
  PresentationLayer/UIComponents/BaseComponents/StepsNavView.swift:227
      Extension declares a conformance of imported type 'UINavigationController' to imported protocol 'UIGestureRecognizerDelegate'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
  WeatherXMTests/DomainLayer/MockRepositories/MockUserDefaultsRepositoryImpl.swift:11
      Non-final class 'MockUserDefaultsRepositoryImpl' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  PresentationLayer/UIComponents/Screens/Explorer/ExplorerFactory.swift:74
      'userInfo' is deprecated: Use customData instead.
  WeatherXMTests/PresentationLayer/Extensions/DomainExtensions/DeviceDetailsTests.swift:124
      Variable 'device' was never mutated; consider changing to 'let' constant
  PresentationLayer/UIComponents/BaseComponents/SelectLocationMap/SelectLocationMapViewModel.swift:140
      'userInfo' is deprecated: Use customData instead.
  WeatherXMTests/DomainLayer/UseCases/MeUseCaseTests.swift:149
      Comparing non-optional value of type 'EmptyEntity' to 'nil' always returns true
  'DomainLayer' is missing a dependency on 'DGCharts' because dependency scan of Swift module 'DomainLayer' discovered a dependency on 'DGCharts'
  WeatherXMTests/DomainLayer/UseCases/DeviceDetailsUseCaseTests.swift:47
      Comparing non-optional value of type 'EmptyEntity' to 'nil' always returns true
  WeatherXMTests/PresentationLayer/ViewModels/HistoryContainerViewModelTests.swift:21
      Comparing non-optional value of type 'Date' to 'nil' always returns true
  PresentationLayer/UIComponents/BaseComponents/SelectLocationMap/SelectLocationMapViewModel.swift:139
      'userInfo' is deprecated: Use customData instead.
  WeatherXMTests/DomainLayer/UseCases/MeUseCaseTests.swift:154
      Comparing non-optional value of type 'EmptyEntity' to 'nil' always returns true
  PresentationLayer/UIComponents/Screens/ExplorerSignIn/RegisterView.swift:83
      'animation' was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.
  PresentationLayer/UIComponents/MapBox/MapBoxMapView.swift:90
      'userInfo' is deprecated: Use customData instead.
  'station-intent' is missing a dependency on 'DGCharts' because dependency scan of Swift module 'station_intent' discovered a dependency on 'DGCharts'
  PresentationLayer/UIComponents/Screens/Onboarding/OnboardingViewModel.swift:15
      Variable 'self' was written to, but never read
  WeatherXMTests/DomainLayer/UseCases/MainUseCaseTests.swift:103
      Variable 'currentVersion' was never mutated; consider changing to 'let' constant
  PresentationLayer/UIComponents/Screens/DeviceInfo/PhotoVerificationState/PhotoVerificationStateViewModel.swift:42
      Value 'self' was defined but never used; consider replacing with boolean test
  WeatherXMTests/PresentationLayer/ViewModels/HistoryContainerViewModelTests.swift:31
      Comparing non-optional value of type 'Date' to 'nil' always returns true
  PresentationLayer/UIComponents/Screens/ExplorerSignIn/SignInView.swift:82
      'animation' was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.
  PresentationLayer/UIComponents/BaseComponents/CustomSegmentView.swift:243
      Initialization of immutable value 'extraPadding' was never used; consider replacing with assignment to '_' or removing it
  'station-widgetExtension' is missing a dependency on 'DGCharts' because dependency scan of Swift module 'station_widgetExtension' discovered a dependency on 'DGCharts'
  WeatherXMTests/PresentationLayer/Navigation/DeepLinkHandlerTests.swift:145
      Variable 'notificationresponse' was never mutated; consider changing to 'let' constant
  PresentationLayer/UIComponents/Screens/PhotoVerification/GalleryView/GalleryViewModel.swift:259
      'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type '[GalleryView.GalleryImage]', consider removing it
  PresentationLayer/UIComponents/Screens/ClaimDevice/ClaimDeviceContainer/ClaimHeliumContainerViewModel.swift:227
      Code after 'return' will never be executed
  WeatherXMTests/DomainLayer/MockRepositories/MockUserDefaultsRepositoryImpl.swift:12
      Stored property 'userSensitiveDataCleared' of 'Sendable'-conforming class 'MockUserDefaultsRepositoryImpl' is mutable; this is an error in the Swift 6 language mode
  wxm-ios/Resources/Localizable/LocalizableString+Explorer.swift:22
      Variable 'localized' was never mutated; consider changing to 'let' constant
  PresentationLayer/UIComponents/Screens/WeatherCharts/WeatherLineChart.swift:174
      TBD: Since the y axis labels are hidden is this snippet necessary
  PresentationLayer/UIComponents/Screens/ClaimDevice/ClaimDeviceContainer/ClaimHeliumContainerViewModel.swift:205
      Code after 'return' will never be executed