Post

Replies

Boosts

Views

Activity

ExtAudioFileRead throwing AVAudioSessionErrorCodeResourceNotAvailable error on iOS and iPadOS 18
Calls to ExtAudioFileRead are throwing OSStatus 561145203 (AVAudioSessionErrorCodeResourceNotAvailable) on iOS and iPadOS 18 -- earlier versions of iOS have not exhibited this behavior. This is a longstanding code path that has seen a spike of these error codes since iOS 18's release. The following is also printed to the Xcode 16 console:
2
1
378
Sep ’24
MIDIFlushOutput does not cancel events scheduled over network
Calling MIDIFlushOutput on a network endpoint is not cancelling events scheduled with future timestamps -- they continue to send. e.g. func send(eventLists: [MIDIEventList]) { let outputPortRef = ... let networkDestination = ... for var eventList in eventLists { MIDISendEventList(outputPortRef, networkDestination.objectRef, &eventList) } } ... MIDIFlushOutput(networkDestination.objectRef) I'm seeing that MIDIFlushOutput does successfully cancel scheduled events on a non-network endpoint. How can I clear all scheduled outgoing events over a MIDI Network connection?
2
2
352
Aug ’24
SVG files added to Xcode randomly misdraw in Mac Catalyst application builds
Anyone else using SVG files added to Asset Catalog for images in an application? Some of my images will not show the colored portions when the application is built and run on Mac Catalyst. But it is completely random. Sometimes the SVG images will draw correctly, sometimes they won't. It's a pesky issue because I can run my application just before making a public build to test the images, and they show up fine. But the public build has the images misdrawn. I've tried setting the rendering mode to alwaysOriginal, cleaning the project, deleting derived data, etc. The SVG images come exported from Figma, not sure if that is the source of the problem? The images have always shown correctly when run on iOS, so I'm assuming it's a Catalyst issue. Has anyone come across this issue and a fix?
0
0
895
Nov ’22