fix: harden ios app build hygiene

This commit is contained in:
Peter Steinberger
2026-04-28 01:41:59 +01:00
parent 2fe213ebf2
commit b294f7c467
97 changed files with 1150 additions and 1044 deletions

View File

@@ -1,5 +1,5 @@
import OpenClawKit
import Observation
import OpenClawKit
import UIKit
import WebKit
@@ -194,7 +194,7 @@ final class ScreenController {
NSLocalizedDescriptionKey: "web view unavailable",
])
}
let image: UIImage = try await withCheckedThrowingContinuation { cont in
return try await withCheckedThrowingContinuation { cont in
webView.takeSnapshot(with: config) { image, error in
if let error {
cont.resume(throwing: error)
@@ -209,7 +209,6 @@ final class ScreenController {
cont.resume(returning: image)
}
}
return image
}
func attachWebView(_ webView: WKWebView) {

View File

@@ -319,7 +319,6 @@ final class ScreenRecordService: @unchecked Sendable {
}
}
}
}
@MainActor