Post

Replies

Boosts

Views

Activity

Reply to Add custom metadata to HKLiveWorkoutBuilder
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
Aug ’20