Post

Replies

Boosts

Views

Activity

Reply to Unable to compile Core Image filter on Xcode 26 due to missing Metal toolchain
I am still having this issue on Beta 3, after trying the methods mentioned above. It says: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain Note: the metal command line code is run in my custom Swift Package plugin like this: let xcRunURL = URL(fileURLWithPath: "/usr/bin/xcrun") let p = Process() p.executableURL = xcRunURL p.arguments = [ "metal", "-c", "-fcikernel", input, "-o", airOutput, "-fmodules=none" ]
Topic: Graphics & Games SubTopic: Metal Tags:
Jul ’25
Reply to App randomly be terminated due to Capture Application Requirements Unmet
Update: Since the termination is due to "Camera not actively used; AVCaptureEventInteraction not installed", I have tried this way to see if the issue can be solved: Using onCameraCaptureEvent API from iOS 18 in my SwiftUI view. And after adopting this, it seems that I haven't encounter this issue any more. But I do have a few concerns: Previously I use AVCaptureEventInteraction, which is available since iOS 17.2 and add it to the keyWindow?.rootViewController?.view. Does onCameraCaptureEvent API using the same approach behind the scene? Still, the app is running as the main target (Not the CaptureExtension), why does the system decide to monitor whether the camera is active and AVCaptureEventInteraction is installed or not?
Nov ’24