         var query: [String: Any] = [
             kSecClass as String: kSecClassGenericPassword,
             kSecAttrAccount as String: name,
-            kSecAttrService as String: tag,
 
             kSecAttrLabel as String: name,
             kSecAttrSynchronizable as String: false,

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

        // Access groups are not supported in simulator

    /// - Returns: Stored entry
    /// - Throws: KeychainStorageError
    @objc open func store(data: Data, withName name: String, meta: [String: String]?) throws -> KeychainEntry {
    #if os(iOS) || os(tvOS) || os(watchOS)
        guard let nameData = name.data(using: .utf8) else {
            throw KeychainStorageError(errCode: .utf8ConvertingError)
        }

        var query: [String: Any] = [
            kSecClass as String: kSecClassKey,
            kSecAttrKeyClass as String: kSecAttrKeyClassPrivate,
            kSecAttrApplicationLabel as String: nameData,

            kSecAttrAccessible as String: self.storageParams.accessibility as CFString,
            kSecAttrLabel as String: name,
