I am using the code below to fetch a CKAsset List but it keeps crashing and telling me: "fatal error: unexpectedly found nil while unwrapping an Optional value"
However the asset list is not empty in the CloudKit dashboard.
Do you know where I am going wrong?
var imageAssets = record.value(forKey: "membersPhotos") as! [CKAsset]
Thanks