Posts

Post not yet marked as solved
9 Replies
It works on device for me! (Sorry, can't edit my old post anymore)
Post marked as solved
1 Replies
Okay I've solved it: Its important to convert the string to an NSString. The dictionary would become this: let metadata : NSDictionary = [ HKMetadataKeySyncIdentifier : NSString(string: match.syncIdentifier.uuidString), HKMetadataKeySyncVersion: match.syncVersion ] I'm leaving it up here in case somebody else comes across the same problem