This was really a quite useful thread, because security sandbox issues are difficult to manage using just Apple official documentation.
Thanks to @Crudough Crudough that pose the question (and the final correct code) and to @OOPer and @Claude31 for the guidelines.
Topic:
Programming Languages
SubTopic:
Swift
Tags: