Skip to content

Commit

Permalink
Even worse hack to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Mar 17, 2024
1 parent 8635f1d commit 1c321e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/MapLibreSwiftUI/MapViewCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check warning on line 252 in Sources/MapLibreSwiftUI/MapViewCoordinator.swift

View workflow job for this annotation

GitHub Actions / test (MapLibreSwiftUI-Package, platform=iOS Simulator,name=iPhone 15,OS=17.2)

capture of 'self' with non-sendable type 'MapViewCoordinator' in a `@Sendable` closure

Check warning on line 252 in Sources/MapLibreSwiftUI/MapViewCoordinator.swift

View workflow job for this annotation

GitHub Actions / test (MapLibreSwiftUI-Package, platform=iOS Simulator,name=iPhone 15,OS=17.2)

capture of 'self' with non-sendable type 'MapViewCoordinator' in a `@Sendable` closure
}
}
Expand Down

0 comments on commit 1c321e6

Please sign in to comment.