Skip to content

feat: migrate project to iOS 18 #1062

feat: migrate project to iOS 18

feat: migrate project to iOS 18 #1062

Triggered via pull request October 2, 2024 10:19
Status Failure
Total duration 9m 38s
Artifacts

unit_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 13 warnings
Tests: Dashboard/Dashboard/Presentation/Elements/PrimaryCardView.swift#L224
call to main actor-isolated instance method 'resizable(capInsets:resizingMode:)' in a synchronous nonisolated context
Tests: Dashboard/Dashboard/Presentation/Elements/PrimaryCardView.swift#L223
call to main actor-isolated instance method 'onFailureImage' in a synchronous nonisolated context
Tests: Dashboard/Dashboard/Presentation/Elements/PrimaryCardView.swift#L222
call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context
Tests: Core/CoreTests/Configuration/AgreementConfigTests.swift#L9
compiling for iOS 16.2, but module 'Core' has a minimum deployment target of iOS 16.4: /Users/runner/Library/Developer/Xcode/DerivedData/OpenEdX-bsdxmseilanfjjcjomwdntdeffpi/Build/Products/DebugDev-iphonesimulator/Core.framework/Modules/Core.swiftmodule/arm64-apple-ios-simulator.swiftmodule
Tests: Core/CoreTests/Configuration/AgreementConfigTests.swift#L9
compiling for iOS 16.2, but module 'Core' has a minimum deployment target of iOS 16.4: /Users/runner/Library/Developer/Xcode/DerivedData/OpenEdX-bsdxmseilanfjjcjomwdntdeffpi/Build/Products/DebugDev-iphonesimulator/Core.framework/Modules/Core.swiftmodule/arm64-apple-ios-simulator.swiftmodule
Tests: Core/CoreTests/Configuration/AgreementConfigTests.swift#L9
compiling for iOS 16.2, but module 'Core' has a minimum deployment target of iOS 16.4: /Users/runner/Library/Developer/Xcode/DerivedData/OpenEdX-bsdxmseilanfjjcjomwdntdeffpi/Build/Products/DebugDev-iphonesimulator/Core.framework/Modules/Core.swiftmodule/arm64-apple-ios-simulator.swiftmodule
Tests
Process completed with exit code 1.
Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests
xcodesorg/made/xcodes 1.5.0 is already installed and up-to-date. To reinstall 1.5.0, run: brew reinstall xcodes
Tests
git-lfs 3.5.1 is already installed and up-to-date. To reinstall 3.5.1, run: brew reinstall git-lfs
Tests: Core/Core/Extensions/UIApplicationExtension.swift#L14
'windows' was deprecated in iOS 15.0: Use UIWindowScene.windows on a relevant window scene instead
Tests: Core/Core/Extensions/UIApplicationExtension.swift#L18
'windows' was deprecated in iOS 15.0: Use UIWindowScene.windows on a relevant window scene instead
Tests: Core/Core/View/Base/SnackBarView.swift#L17
'windows' was deprecated in iOS 15.0: Use UIWindowScene.windows on a relevant window scene instead
Tests: Core/Core/Network/DownloadManager.swift#L271
no 'async' operations occur within 'await' expression
Tests: Core/Core/Network/DownloadManager.swift#L300
no 'async' operations occur within 'await' expression
Tests: Core/Core/Network/DownloadManager.swift#L571
no 'async' operations occur within 'await' expression
Tests: Core/Core/Extensions/DateExtension.swift#L238
initialization of immutable value 'days' was never used; consider replacing with assignment to '_' or removing it
Tests: Core/Core/Network/RequestInterceptor.swift#L47
variable 'mutableUserAgent' was never mutated; consider changing to 'let' constant
Tests: Core/Core/Providers/SocialAuth/FacebookAuthProvider.swift#L48
value 'self' was defined but never used; consider replacing with boolean test
Tests: Profile/Profile/Presentation/DatesAndCalendar/DatesAndCalendarViewModel.swift#L231
trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning