         let query: [String: Any] = [
             kSecClass as String: kSecClassGenericPassword,
             kSecAttrAccount as String: name,
-            kSecAttrService as String: tag,
 
             kSecAttrComment as String: self.commentString()
         ]

        let query: [String: Any] = [
            kSecClass as String: kSecClassGenericPassword,
            kSecAttrAccount as String: name,
            kSecAttrService as String: tag,

            kSecAttrComment as String: self.commentString()
        ]

            kSecClass as String: kSecClassKey,
            kSecAttrKeyClass as String: kSecAttrKeyClassPrivate,
            kSecAttrApplicationLabel as String: nameData,
        ]

        // Access groups are not supported in simulator
