Post

Replies

Boosts

Views

Activity

Shortcut only works on one target/scheme
I added an AppIntent and Shortcut to an app. I have different targets all producing slightly different versions of the app (for testing purposes) but even though the files with the intents and shortcuts are included on all targets, when I run the app from one of the other targets the shortcuts stop working and appearing on the Shortcuts app. Only the version without parameters appears and when run produces an error: “The action (name) could not run because an internal error occurred” Is there anything I’m missing? if I duplicate the target where they run ok, everything is fine (and I might just recreate all the targets) thanks!
2
0
108
Feb ’25
UIDocumentPickerViewController with type .folder won't give access to files inside selected folder
Hi, I followed the instructions here: https://developer.apple.com/documentation/uikit/view_controllers/providing_access_to_directories but when trying to get access to each file inside the selected folder (tried iCloud and iPhone) it always fails. Instead, if I specify a type of file on the Controller (say .audio) I can read the file fine... Did anything change which is not documented in that page? Do I have to set any other permission or capability? (I have iCloud Documents) Thanks!!
2
0
859
Dec ’23