I'm applying a code snippet from the Realm documentation (https://realm.io/docs/swift/latest/) but it doesn't compile
try! FileManager.default.setAttributes([FileAttributeKey(rawValue: NSFileProtectionKey): NSFileProtectionNone], ofItemAtPath: folderPath)
What does this error mean
Invalid initializer call with same type 'FileAttributeKey' as parameter