The library must/should save specific intermediate data to run faster on next launch. We don't want to burden its users with that. It would not be easily possible anyway.
I would not call that settings (preferences), so you probably want to use the Library/Cache folder in the app's home folder.
This article is 5 years old, but I believe the folder structure is still the same:
https://macpgmr.github.io/ObjP/ObjP_Part5.html#The%20SandboxAs always, with iOS it's important to do things the iOS way. There should be an NS method that provides this location. See NSMisc.pas for a function that returns the Documents folder; write something similar to that for Library/Caches.
Note that any "config" path returned by GetAppConfigDir that contains a hidden directory (dot) is probably _not_ a proper folder to use with OS X or iOS. It may happen to work on OS X because OS X supports many of the Unix conventions and locations, but you won't find modern OS X apps using these locations, certainly not for preferences.