From 1c321e6df38562f62fc5e3b93f7f6a00ca92bfed Mon Sep 17 00:00:00 2001 From: Ian Wagner Date: Mon, 18 Mar 2024 03:15:41 +0900 Subject: [PATCH] Even worse hack to fix CI --- Sources/MapLibreSwiftUI/MapViewCoordinator.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/MapLibreSwiftUI/MapViewCoordinator.swift b/Sources/MapLibreSwiftUI/MapViewCoordinator.swift index 7c92933..58dca04 100644 --- a/Sources/MapLibreSwiftUI/MapViewCoordinator.swift +++ b/Sources/MapLibreSwiftUI/MapViewCoordinator.swift @@ -247,7 +247,8 @@ extension MapViewCoordinator: MLNMapViewDelegate { return } - MainActor.assumeIsolated { + // FIXME: CI complains about this being unavailable before iOS 17, despite building on iOS 17.2... This is an epic hack to fix it for now. I can only assume this is an issue with Xcode pre-15.3 + Task { @MainActor in updateParentCamera(mapView: mapView, reason: reason) } }