Problems with KeyValueWhatsNewVersionStore #101

Closed
opened 2025-10-14 16:01:19 -06:00 by navan · 0 comments
Owner

Originally created by @max-horvath on 6/11/2018

Hi Sven,

I tried the KeyValueWhatsNewVersionStore implementation as described in README.md and it crashed when using UserDefaults.standard, or fails when using NSUbiquitousKeyValueStore.default. The crash happens when you press the completion button.

For NSUSerdefaults it crashes with
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempt to insert non-property list object 1.0.0 for key de.tiigi.whatsnewkit.1.0.0'

For iCloud it fails with
[NSUbiquitousKeyValueStore setObject:forKey:]: Attempt to insert non-property value '1.0.0' of class '_SwiftValue'.

What would I need to do to fix this?

Max

*Originally created by @max-horvath on 6/11/2018* Hi Sven, I tried the KeyValueWhatsNewVersionStore implementation as described in README.md and it crashed when using UserDefaults.standard, or fails when using NSUbiquitousKeyValueStore.default. The crash happens when you press the completion button. For NSUSerdefaults it crashes with `Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempt to insert non-property list object 1.0.0 for key de.tiigi.whatsnewkit.1.0.0'` For iCloud it fails with `[NSUbiquitousKeyValueStore setObject:forKey:]: Attempt to insert non-property value '1.0.0' of class '_SwiftValue'. ` What would I need to do to fix this? Max
navan 2025-10-14 16:01:19 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/WhatsNewKit#101
No description provided.