Trying to read a resource (within app bundle put there using build step) using SpecialFolder.GetResource. The resource is there. The FolderItem instantiates with the resource.
Upon attempting to Open resource for reading using TextInputStream XOJO throws error 2 (of course, no Message or Reason provided.)
After checking, the FolderItem returned has “IsReadable=False” — is this normal and if so, how does one read a resource such as a text file then?
Note that code works perfectly when accessing this text file from a directory, including a system folder like application support.
Thanks in advance!