Open NishanthReddyKuninti opened 1 week ago
Getting the same error.
❌ /Users/jenkins/builds-runner-8/work/iOS/iOS/acv-ios-unit-test-dd/SourcePackages/checkouts/ViewInspector/Sources/ViewInspector/SwiftUI/CustomView.swift:153:30: 'assumeIsolated(:file:line:)' is only available in iOS 17.0 or newer return try MainActor.assumeIsolated {
Which Xcode are you using?
For Xcode 16 it is defined like that:
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
public static func assumeIsolated<T>(_ operation: @MainActor () throws -> T, file: StaticString = #fileID, line: UInt = #line) rethrows -> T where T : Sendable
Getting the same issue on XCode 15.2 in Azure pipelines
Well, I guess you need to either use a newer Xcode (15.4 might work), as there is no way to avoid assumeIsolated
and support newest features
Xcode 15.4 did work
Confirming changing to 15.4 works for me.