Post

Replies

Boosts

Views

Activity

Comment on WeatherKit - getting many errors including "The file “Weather” couldn’t be opened because you don’t have permission to view it."
Would love to ship a macOS app that features WeatherKit but unfortunately I remain unable to receive any data from the API, too. Getting a bunch of errors like: [WeatherService] Encountered an error when fetching weather data subset Domain=WeatherDaemon.WDSJWTAuthenticatorService.Errors Code=1 "(null)" The operation couldn’t be completed. (WeatherDaemon.WDSJWTAuthenticatorService.Errors error 1.) Any advice?
Topic: App & System Services SubTopic: General Tags:
Jul ’22
Comment on Distorted Audio When Recording External Mics With AVCaptureSession and AVAssetWriter
I followed your suggestion and tried observing the AVCaptureInput.Port.formatDescriptionDidChangeNotification. The notification is received at the start of every new recording, not just the ones that subsequently fail. The following error/warning appears in the Xcode console before a subsequent faulty recording begins: CMIO_Unit_Converter_Audio.cpp:590:RebuildAudioConverter AudioConverterSetProperty(dbca) failed (1886547824)
Topic: Media Technologies SubTopic: Audio Tags:
Oct ’24
Comment on Testing Right-to-Left localization in a macOS app
Thank you very much for your response. I created a test user and set the language to Arabic for that user — this allowed me to test my localized UI, but the solution is, of course, suboptimal. However, testing the numerals was very straightforward by changing the locale like you’ve mentioned: .environment(\.locale, Locale(identifier: "ar_AE@numbers=arab"))
Nov ’24
Comment on WeatherKit - getting many errors including "The file “Weather” couldn’t be opened because you don’t have permission to view it."
Would love to ship a macOS app that features WeatherKit but unfortunately I remain unable to receive any data from the API, too. Getting a bunch of errors like: [WeatherService] Encountered an error when fetching weather data subset Domain=WeatherDaemon.WDSJWTAuthenticatorService.Errors Code=1 "(null)" The operation couldn’t be completed. (WeatherDaemon.WDSJWTAuthenticatorService.Errors error 1.) Any advice?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on How to sort SwiftUI Table with Data from Core Data FetchResult
Since your data source comes from a FetchRequest I recommend to change the sortDescriptor when the order has changed, using the .onChange modifier.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Distorted Audio When Recording External Mics With AVCaptureSession and AVAssetWriter
Thank you for the hint! I have just uploaded two sysdiagnose files in the Feedback Assistant (both for recording audio from the Opal C1 camera and the Apple Studio Display microphone). I really hope this helps. Thanks so much for your support in advance.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on Distorted Audio When Recording External Mics With AVCaptureSession and AVAssetWriter
The AVAssetWriter.Status is failed, and the error description says “The operation could not be completed”. A .caf file is created, but it contains no content.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on Distorted Audio When Recording External Mics With AVCaptureSession and AVAssetWriter
I followed your suggestion and tried observing the AVCaptureInput.Port.formatDescriptionDidChangeNotification. The notification is received at the start of every new recording, not just the ones that subsequently fail. The following error/warning appears in the Xcode console before a subsequent faulty recording begins: CMIO_Unit_Converter_Audio.cpp:590:RebuildAudioConverter AudioConverterSetProperty(dbca) failed (1886547824)
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on Distorted Audio When Recording External Mics With AVCaptureSession and AVAssetWriter
The AVCaptureSession.runtimeErrorNotification was not triggered during my recordings/tests.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on Testing Right-to-Left localization in a macOS app
Thank you for your response, Claude31. My questions specifically concern how I can fully test my right-to-left implementation using Xcode. I understand how to implement all of this (in theory), as it’s well-documented, for instance, in the WWDC talk Get it right (to left).
Replies
Boosts
Views
Activity
Nov ’24
Comment on Testing Right-to-Left localization in a macOS app
Thank you very much for your response. I created a test user and set the language to Arabic for that user — this allowed me to test my localized UI, but the solution is, of course, suboptimal. However, testing the numerals was very straightforward by changing the locale like you’ve mentioned: .environment(\.locale, Locale(identifier: "ar_AE@numbers=arab"))
Replies
Boosts
Views
Activity
Nov ’24
Comment on Testing Right-to-Left localization in a macOS app
Feedbacks: • FB15922104 (Enable previewing of Arabic-Indic numerals via the app’s scheme) • FB15922075 (Right-to-Left Languages Not Previewing Correctly)
Replies
Boosts
Views
Activity
Nov ’24