Post

Replies

Boosts

Views

Activity

Reply to Unable to compile Core Image filter on Xcode 26 due to missing Metal toolchain
Tried more things. I observe that xcodebuild is still attempting to execute metal from here: /Applications/Xcode-26.0.0-Beta.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -c This complains the toolchain does not exist. How can I point this to a different metal install? Xcode shows that I have two metal toolchains installed. 17.0 (17A5241l) and 17.0 (17A5241n). Xcode is able to build my code via the UI, but not via command line when executed by Fastlane.
Topic: Graphics & Games SubTopic: Metal Tags:
Jul ’25
Reply to [18.2b2] How do I test an OpenIntent?
@DTS Engineer It looks like the system, when invoking an OpenIntent, knows the input target of the intent, and knows the "ID" of the "target". In my case it's the special FileEntityIdentifier Using the code on the documentation will not work because func entities(for identifiers: [FilesEntity.ID]) async throws -> [FilesEntity] { [] } is not converting the system provided FileEntityIdentifier to a "FilesEntity", so there's no target to invoke the OpenIntent with. Here's the fix for that: func entities(for identifiers: [FilesEntity.ID]) async throws -> [FilesEntity] { identifiers.map { FilesEntity( id: $0, creationDate: nil, fileModificationDate: nil ) } } I've resolved this and ALSO provided the OpenIntent using the "AppShortcutsProvider". Otherwise it does not appear in shortcuts. The good news: When invoked from the provided shortcuts area it works! I am not able to add it to a custom-shortcut as an action, though, I can only invoke it directly from the provided shortcuts card. Questions Now that I know the OpenIntent works, how can I invoke it with Siri? It seems any phase with "open" in it still just opens my app. Does the OS provide a "file" to Siri anywhere? How can I know this? I've tried a quick looked file in the Files app and phrases like "Open this in ".
Nov ’24