Still can't use ApplicationSupport

  1. 4 months ago

    Gavin S

    May 16 Pre-Release Testers, Xojo Pro UK
    Edited 4 months ago

    There are specific reasons to use SpecialFolder.ApplicationSupport on iOS (as on the Mac) but Xojo still throws an exception when trying to create a file or folder there. The documentation implies that it works when I'm pretty sure it's never worked.

    I know it's been discussed before but for bugs like this, that have been reviewed and confirmed by staff and then sat unfixed for a long period of time, couldn't we get a note added to the documentation? I just wasted half an hour on this, thinking it was something I was doing wrong.

    Feedback Case #37590

  2. Jeff T

    May 16 Midlands of England, Europe
    Edited 4 months ago

    On MacOS its ApplicationData, which the documentation says resolves to Application Support

    in new framework, SpecialFolder.ApplicationSupport resolves to ../Library/Application Support on MacOS, but ../Library/ApplicationSupport (note - no space) on iOS

    http://developer.xojo.com/xojo-io-specialfolder$ApplicationSupport

    Documentation about the iOS file system says this:
    Put app-created support files in the Library/Application support/ directory. (note spaces)

    https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html

    Does this offer any clues?
    Does it make sense to 'roll your own' path to this folder?

or Sign Up to reply!