prachiFam / amazon_s3_cognito

this is a Flutter plugin allows users to upload and delete image for amazon s3 cognito
Other
16 stars 24 forks source link

not able to build in xcode 12.2 #19

Closed tushardubey121 closed 3 years ago

tushardubey121 commented 3 years ago

Not able to build the code it return the framework error. Flutter version 1.22.2 Xcode version 12.2 Simulator OS version 14.2

bperreault commented 3 years ago

Not sure if this is helpful, but the version at Prasso works in XCode 12 for me. https://github.com/prasso/amazon_s3_cognito

tushardubey121 commented 3 years ago

Please check with xCode 12.2 error: cannot find 'AWSS3TransferManagerUploadRequest' in scope let uploadRequest = AWSS3TransferManagerUploadRequest()

error: cannot find 'AWSS3TransferManager' in scope AWSS3TransferManager.default().upload(uploadRequest!).continueWith { (task) -> AnyObject? in

error: cannot find 'AWSS3TransferManagerUploadRequest' in scope let uploadRequest = AWSS3TransferManagerUploadRequest()

bperreault commented 3 years ago

I use Version 12.3 (12C33). to me, that sounds like a need to make sure the AWS references got pod installed. not xCode 12.2 issue

imkrishnaagrawal commented 3 years ago

I am facing the same issue

bperreault commented 3 years ago

There's a PR may be helpful. just came in today. https://github.com/prachiFam/amazon_s3_cognito/pull/21

prachiFam commented 3 years ago

PR is merged into the repo. Hence this issue is fixed now.