SwiftLocation icon indicating copy to clipboard operation
SwiftLocation copied to clipboard

[Bug]: Always getting timeout

Open that70schris opened this issue 1 year ago • 1 comments

Platform Version

macOS

SDK Version

6.0.0

Xcode Version

NA

Steps To Reproduce

I'm trying to use this in a Raycast extension https://github.com/that70schris/weather/tree/minimum

  1. install Raycast
  2. run npm install
  3. run npm run dev
  4. Raycast should pop up
  5. run the available "Weather" menubar command in Raycast

file to focus on is https://github.com/that70schris/weather/blob/minimum/Sources/weather.swift

Expected Behavior

    .horizontal(10000) // has an horizontal accuracy of 100 meters or lower
  ], timeout: 10)```
should return a location

### Actual Incorrect Behavior

I'm getting a timeout error despite `location.locationServicesEnabled` being `true`

that70schris avatar Jun 17 '24 13:06 that70schris

Raycast documentation: https://developers.raycast.com

that70schris avatar Jun 17 '24 13:06 that70schris