please ignore / delete
Hi I found I had a problem on my system whereby I didn't have the SDK versions loaded that I thought I had. Once I fixed this I found 4.1.17 at least works as expected.
I did update the question (couldn't find how to delete it myself?) as soon as I realised, but you must have seen it beforehand. Sorry to have taken your time but thanks for responding.
I do have an F5+, I mentioned in my original question (which I realise you can't see now) I was getting the same problem on the simulator and the real device.
For now 4.1.7 is the latest version that I can get to run on my system --- higher versions give me a segmentation fault when I try to run the simulator via the `connectiq` command.
I have a relatively unusual environment, at least it seems in the Garmin/CIQ world (Void Linux/Vim/command line). It's been difficult but I've not asked questions about getting my general environment working, as I appreciate that my difficulties might be seen as self-inflicted and I don't want to get into philosophical debates about software choice.
I'm very happy to have a working environment now, and my app (including `getUserActivityHistory()`) is working in the simulator and on my real device.
I appreciate your advice about keeping my SDK up-to-date and will check regularly that I am at least using the latest version that I can get to work on my system.