/private/var/mobile/Containers/Data/Application/{GUID}/.config
The app already runs fine but I cannot save library settings to a location returned by GetAppConfigDir. On IPhone Simulator it is working.
I would use the standard iOS approach, which is probably what Xamarin uses. Eg, NSUserDefaults would be the class to look at.
I would not trust things like GetAppConfigDir. Historically this function's result made sense on Linux, but not OS X (much less iOS).
Is there some reason why both the app and the library save settings? I would think only the app should do that.
<Application_Home>/Library/Caches
according to: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.
NSMisc.pas(23,3) Fatal: Cannot find iPhoneAll used by NSMisc.
However, for IPHONESIM and DARWIN/ARM targets I cannot compile NSMIsc.pas:Code: [Select]NSMisc.pas(23,3) Fatal: Cannot find iPhoneAll used by NSMisc.
Edit: On second thought, another approach would be to determine the path on the Xamarin side and just pass it to your library. That would make sense if you don't need iPhoneAll anywhere else in the library.