Fix the flakey preview tests. (#4329)

* Try fix the flakey preview tests with a low priority task…

* Try RunLoop.current.perform

* Revert #4321: Use a dispatch queue again. Also fixes the concurrency warning with a Mutex.

The Mutex package is only required for iOS 17, we can remove it when we set the minimum deployment target to iOS 18.
This commit is contained in:
Doug
2025-07-17 12:45:33 +01:00
committed by GitHub
parent ca9d84d1d2
commit 247c7a4617
7 changed files with 100 additions and 25 deletions
+3
View File
@@ -134,6 +134,9 @@ packages:
Mapbox:
url: https://github.com/maplibre/maplibre-gl-native-distribution
minorVersion: 5.13.0
Mutex: # Backports Swift's built in Mutex so we can use it on iOS 17.
url: https://github.com/swhitty/swift-mutex
minorVersion: 0.0.6
PostHog:
url: https://github.com/PostHog/posthog-ios
minorVersion: 3.27.0