         query[ReturnAttributes] = true
 
         var result: AnyObject?
-        let status = withUnsafeMutablePointer(&result) { SecItemCopyMatching(query, UnsafeMutablePointer($0)) }
+        let status = SecItemCopyMatching(query, &result)
 
         switch status {
         case errSecSuccess:

        #endif

        var result: AnyObject?
        let status = withUnsafeMutablePointer(&result) { SecItemCopyMatching(query, UnsafeMutablePointer($0)) }

        switch status {
        case errSecSuccess:

        #endif

        var result: AnyObject?
        let status = SecItemCopyMatching(query, &result)

        switch status {
        case errSecSuccess:
