CoreData Cloudkit Sync disallow Attribute

Is there a way to flag an attribute to not sync up to cloudkit?

Replies

Just omit the attribute from the CKRecord you're syncing.

Im using

NSPersistentCloudKitContainer so i can't omit it. Looking for a flag in core data.