Quantcast
Channel: Active questions tagged cocoapods - Stack Overflow
Viewing all articles
Browse latest Browse all 1029

Flutter keeps importing old version of Plugin for iOS

$
0
0

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

enter image description here


Viewing all articles
Browse latest Browse all 1029

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>