Thanks, Quinn!
What specific information are you looking for here?
Well ... information of the device and operating system the code really runs on would be sort of nice. It's pretty weird to ask the code which runs on Mac for the device it runs on and get “iPad”.
I could understand this when running as “Designed for iPad”, in which case the code might really need to be lied to, for it was designed for iSomething originally.
But in the Catalyst mode, where the code is designed for Mac, it seems really at the strange side.
And what do you plan to do with that information?
At this moment, I just wanted to save it for possible further interest, along with other things my application stores (see please below).
Currently the only practical part would be to determine whether I can store my data into any file in any folder (as on Mac), or whether I should stick with Application Support sub-folders (as on iWhatever).
Given that, I’m not sure Mac Catalyst is your best option
Well the main purpose of my application is to observe the characteristics of some HomeKit devices and save their value changes along with timestamps. To these stored data I wanted to add the information on which device this happened, purely for possible further interest (most probably nothing more than “recorded on XXX” :))
Do please correct me if I am wrong and if I overlook something of importance, but I understand there is, triple alas, no HomeKit API available amongst the native macOS APIs. Thus — far as I got it right — to write a macOS HomeKit application, I am, alas, forced to stick with Catalyst.