Post

Replies

Boosts

Views

Activity

Reply to AppleID Login failing in virtualized OS
This really needs to be resolved. The ability to test, debug, and build apps in professional workflows requires ease of setting up VMs and debugging apps. Xcode requires Apple ID login, which does not work in a VM like UTM. This means I can't easily debug my software on new OS'es without updating my entire system? Thats insane in 2024 with containerized workflows as a defacto standard. Come on.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’24
Reply to AppleID Login failing in virtualized OS
Ah, so this appears fixed in macOS 15. Older Virtualization Framework systems (ie older hosts) won't work. https://developer.apple.com/documentation/virtualization/using_icloud_with_macos_virtual_machines Can we get confirmation that: macOS 14 (13, 12, 11 etc) running as a guest on a macOS 15 workstation would get a Secure Enclave identity allowing the macOS 14 (13, 12, 11 etc) guest OS to sign into iCloud, use Xcode, etc?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’24
Reply to AVPlayer takes too much memory when playing AVComposition with multiple videos
You need to ensure that you re-use tracks in your composition when creating a composition. Validate that your existing composition video track can be re-used when making a new insert / edit - assuming you dont need multiple tracks for transition effects. The API for this is mutableTrack(compatibleWith track: AVAssetTrack) -> AVMutableCompositionTrack? The way this works is for every source video track you want to edit into your composition: check if there is an existing compatible track on your composition if there is, use it if not, make a new one and use that, The more times you can re-use the same track (ie for standard edits) the better, and less memory you will consume.
Topic: Media Technologies SubTopic: Video Tags:
Dec ’24
Reply to Decode HLS livestream with VideoToolbox
Can I ask a dumb question? Is there a reason you need to customize the decoding of an HLS stream yourself? Does your stream work with AVURLAsset -> url of HLS playlist -> AVPlayer? Just curious! As for the error, are you certain you are vending samples to the decoder in DTS order, and that your CMSampleBuffers contain Block Buffers with fully demarcated NAL units, sync info and extra data? I dont know how to resolve your issue specifically to be honest, but ive absolutely seen that not fully setup sample buffers can cause the decoder to fail in unexpected ways.
Topic: Media Technologies SubTopic: Streaming Tags:
Dec ’24
Reply to SwiftUI Instrumentation Fails to start
Hello Im having similar issues, however with Instrumenting a macOS application. Instruments + SwiftUI was working great with XCode 16.3 and macOS 15.5 I recently updated to macOS 15.7.2 and XCode 26.1.1 And now When I run my application via Product -> Profile (Command I) SwiftUI Template Run Instruments launches my app for a microsecond, and then fails with Failed to start the recording: Failed starting ktrace session. Some notes For my macOS target, i can only choose deferred mode for the Recorder Settings
4w