Post

Replies

Boosts

Views

Activity

Reply to iOS 16 Beta Issue? - List selection binding parameter is not being updated when items are selected in the list
I did some more digging and determined that the issue is the use of a Button within the ForEach loop. I had a response from Apple, where they acknowledged the issue and are investigating. There doesn't appear to be any timeline for resolution. They did suggest that a workaround would be to replace the Button with an .onTapGesture. This worked for me.
Aug ’22
Reply to WeatherKit Down???
An update. Looks like Apple changed something behind the WeatherQuery hourly(startDate: endDate:) method ( Documentation Link ). My code set up a date range a little over 10 days in duration as at original implementation time it ensured the maximum hourly weather entries were returned  let forecast = try await self.service.weather(for: location, including: .hourly(startDate: startDate, endDate: endDate)) The call stopped generating the error if I ensured that the duration was no more than 10 days so it seems that Apple has started enforcing a maximum data range to return. I've not seen anything in the documentation warning about this.....
Feb ’23
Reply to Swift Package Manager (SPM) can't load recently used dependencies or find new one since upgrade to Xcode16
After a lot of digging I finally found a solution that worked - at least for me. Seems that somehow something had become corrupt in the list of recent packages held in the Xcode preferences plist. I edited ~/Library/Preferences/com.apple.dt.Xcode.plist and deleted a bunch of of items from the IDESwiftPackageAdditionAssistantRecentlyUsedPackages key. After doing this, did the usual cache and derived data stuff and things started working again. Hope this helps someone else.
Sep ’24