I have create a plugin which can be found at following url https://pub.dartlang.org/packages/upetch_paysquare_service#-versions-tab-
I imported the plugin in separate flutter project's pubspec as follows
upetch_paysquare_service: ^0.0.7
The Android part works fine. when I open the project in Xcode to run on iOS device, I get error saying could not find file included pods..
So I decide to update my podsI went to terminal I keep getting error saying I did not specified any swift version in my plugin but I have specified swift version in my plugin project's pod file as follows
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '4.2' # required config.build_settings['ENABLE_BITCODE'] = 'NO' end endend
My main question is whenever I do pod update
or pod install
, the version of plugin getting installed is 0.0.2 but I am importing version 0.0.7 in my pubspec.yaml
file.
Here is the screenshot