Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 4.1.1 build error on Xcode build #104

Closed
macsupport opened this issue Sep 11, 2022 · 2 comments
Closed

Version 4.1.1 build error on Xcode build #104

macsupport opened this issue Sep 11, 2022 · 2 comments

Comments

@macsupport
Copy link

I'm getting a failed build with errors after updating to v 4:
(I removed and the re-installed the plugin with no luck)

Tuple pattern cannot match values of the non-tuple type 'Data'

Seems to be here:

DispatchQueue.global(qos: .background).async {
            let request = AF.request(self.statsUrl, method: .post,parameters: parameters, encoder: JSONParameterEncoder.default)
            request.responseData { response in
                switch response.result {
                case .success():
                    print("\(self.TAG) Stats send for \(action), version \(versionName)")
                case .failure(error):
                    print("\(self.TAG) Error sending stats: ", error )
                }
@ghost
Copy link

ghost commented Sep 11, 2022

Hi @macsupport, this pull request (#105) fixes the error.

@riderx riderx closed this as completed in 148a878 Sep 11, 2022
@riderx
Copy link
Collaborator

riderx commented Sep 11, 2022

thanks @luca-sharryland for the quick fix !
i close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants