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
Reply to PHAssetChangeRequest deleteAssets not working some time
It's getting worse and worse since iOS 26. I have to tell users to kill the app or even restart the iPhone when encountering this issue, which will still happen after a while after restarting.
Replies
Boosts
Views
Activity
Oct ’25
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:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Variable name auto-complete gone from lldb?
Same. Downgrading to Xcode 16.2 would work again. I believe this is an issue with Xcode 16.3. Too bad they didn't patch it yet since its release. This is annoying.
Replies
Boosts
Views
Activity
Apr ’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?
Replies
Boosts
Views
Activity
Nov ’24
Reply to iOS 17 UIImageReader has memory leaks
Having the same issue. Here is the demo to reproduce this issue: https://github.com/JuniperPhoton/HDRMemoryIssueDemo This issue still exists on iOS 18 Developer Beta.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Strange UITextEffectsWindow eats away most of my events
It occurs to me too. And I found the way to reproduct it: Open a sheet by SwiftUI: .sheet Switch to other app Back to your app, close the sheet And then some buttons aren't responsive.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’23