sidlatau / flutter_email_sender

Allows send emails from flutter using native platform functionality.
Apache License 2.0
151 stars 84 forks source link

Unable to determine switft version #19

Closed qng5150 closed 5 years ago

qng5150 commented 5 years ago

flutter_email_senderdoes not specify a Swift version and none of the targets (Runner) integrating it have theSWIFT_VERSIONattribute set. Please contact the author or set theSWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

josephhainline commented 5 years ago

I see this same bug.

lclc68lclc commented 5 years ago

I'm getting this bug as well. Is there a workaround?

josephhainline commented 5 years ago

@lclc68lclc I believe this is an issue of the flutter project not being created with swift dependencies set up. By default Objective C is used instead. You might trying the answer to this StackOverflow question although it requires recreating the iOS project which means you lose any tweaks to the project you've made so far. It did solve the problem for me though.