Post

Replies

Boosts

Views

Activity

Swift Package Manager (SPM) can't load recently used dependencies or find new one since upgrade to Xcode16
Since upgrading to Xcode 16 Swift Package Manager seems to be broken. It can't load recently used packages (just spins the progress indicator). Same thing when trying to search for a new package. I've looked online and can't find anything useful. I've deleted all the caches. Resetting existing packages completes successfully. Anyone else seen this before and have any suggestions? Thanks
3
4
473
Sep ’24
WeatherKit Down???
I've been using the new WeatherKit service (iOS16) in a production app since Nov 2022. Last night for no apparent reason the service call has started failing with the following error. ``responseFailed(<NSHTTPURLResponse: 0x28004cea0> { URL: https://weather-data.apple.com/v3/weather/en-IE/50.717/-1.983?timezone=Europe/London&dataSets=forecastHourly&hourlyStart=2023-02-16T00:00:00Z&hourlyEnd=2023-02-27T00:00:00Z&country=GB } { Status Code: 400, Headers {     "Access-Control-Allow-Origin" =     (         "*"     );     "Cache-Control" =     (         "max-age=0, no-cache, no-store"     );     Connection =     (         "keep-alive"     );     "Content-Length" =     (         0     );     "Content-Security-Policy" =     (         "default-src 'self';"     );     "Content-Type" =     (         "application/json"     );     Date =     (         "Thu, 16 Feb 2023 05:59:40 GMT"     );     Expires =     (         "Thu, 16 Feb 2023 05:59:40 GMT"     );     Pragma =     (         "no-cache"     );     Server =     (         Apple     );     "Strict-Transport-Security" =     (         "max-age=31536000; includeSubdomains"     );     "X-Apple-Origin" =     (         "8961098f-b238-3714-ba44-5b569c861456"     );     "X-Cache" =     (         "TCP_MISS from a23-73-3-206.deploy.akamaitechnologies.com (AkamaiGHost/11.0.0-46340752) (-)"     );     "X-Content-Type-Options" =     (         nosniff     );     "X-Frame-Options" =     (         SAMEORIGIN     );     "X-REQUEST-ID" =     (         "70643dbf-67ad-4f75-8a65-a0d90bc76d73"     );     "X-XSS-Protection" =     (         "1; mode=block"     );`` I am also using the WeatherKit REST API for devices running iOS15 - and this service is still working in the app. I've logged a support request with Apple but no response yet (FB11992323). Has anyone else seen this problem?
1
1
729
Feb ’23
iOS 16 Beta Issue? - List selection binding parameter is not being updated when items are selected in the list
I have a List with a bound selection field. The list is populated with a ForEach loop (outline code below) @State private var editMode = EditMode.inactive @State private var selectedItems = Set<Int>() List (selection: $selectedItems) { ForEach (myObjects.indices, id:\.self) { idx in ……. Button(…) } } A toolbar action toggles the list edit status by manipulating the editMode parameter. Visually the list shows rows being selected, however the selectedItems field is never updated. This works as expected in iOS15.5 - only an issue in iOS16 Betas (up to 3 currently) I've also logged Feedback Assistant but thought I'd also post here in case I'm missing something? Thanks
4
1
1.3k
Jul ’22