-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi there @kabiroberai,
Here at Raycast, we are using your package to run some experiments for multiplatform code (Windows and macOS).
The issue occurs when we try to run some simple CoreLocation async functions in macOS, which produce hangs (i.e. the code just blocks and never pass the targeted line).
I read and implemented the changes suggested by #48 and #49 to run Swift async functions on Swift 6.1. You can easily replicate by calling an exposing an async function and testing it with an expression such as Los Angeles, United States
:
internal import CoreLocation
func landmarksFor(_ expression: String) async throws -> [CLPlacemark] {
return try await geocoder.geocodeAddressString(expression, in: nil, preferredLocale: .current)
}
Any help would be appreciated.
himself65
Metadata
Metadata
Assignees
Labels
No labels