EinfachHans / capacitor-email-composer

E-Mail Composer Plugin for Capacitor
MIT License
21 stars 7 forks source link

iOS Compiler Version issue in Capacitor 4.01 and Ionic 6.2.2 #14

Closed sreejith-mv closed 1 year ago

sreejith-mv commented 2 years ago

On Capacitor 4.01 and Ionic 6.2.2, I am getting an error in iOS for Plugin Compiler version. Could you please able to update the compiler version to 13?

❌ /Users/runner/work/-----/node_modules/capacitor-email-composer/ios/Plugin/EmailComposer.swift:2:8: compiling for iOS 12.0, but module 'Capacitor' has a minimum deployment target of iOS 13.0: /Users/runner/Library/Developer/Xcode/DerivedData/App-evsdlgyukodovrgtwbzbgondoaey/Build/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Release-iphoneos/Capacitor/Capacitor.framework/Modules/Capacitor.swiftmodule/arm64-apple-ios.swiftmodule

EinfachHans commented 2 years ago

what version of this plugin is installed?

sreejith-mv commented 2 years ago

Version 1.2.0

sreejith-mv commented 2 years ago

Any update on this issue?

EinfachHans commented 2 years ago

just tested and cant reproduce 🤔

sreejith-mv commented 2 years ago

Please see the s.ios.deployment_target = '12.0' in https://github.com/EinfachHans/capacitor-email-composer/blob/dev/CapacitorEmailComposer.podspec.

Could you please update it to 13 ?

EinfachHans commented 2 years ago

@sreejith-mv please create a PR, i will merge and release it directly 😊 Also please test your changes by installing your fork into your app and see if the problems are fixed