Tap-Payments / gosellSDK-Flutter

Flutter plugin for goSellSDK
MIT License
11 stars 24 forks source link

compiling for iOS 9.0, but module 'TapSwiftFixesV2' has a minimum deployment target of iOS 11.0 #23

Closed quardonprojects closed 2 years ago

quardonprojects commented 3 years ago

Hello,

I've been using go_sell_sdk_flutter: ^1.3.2 which is a little old but the only one worked for me but there is a problem in this version on iOS that most of the cards gives the attached error that the card used isn't supported, although the user used the same exact card on the android version of the app and the card worked, I thought this might be an issue because of me using the old library, but whenever I try to upload the library version it gives me this error :

/Volumes/Drive/Development/Projects/tab/ios/Pods/TapAdditionsKitV2/TapAdditionsKitV2/TapAdditionsKitV2/Foundation/JSONSerialization+Additions.swift:9: 8: error: compiling for iOS 9.0, but module 'TapSwiftFixesV2' has a minimum deployment target of iOS 11.0: /Volumes/Drive/Development/Projects/tab/build/ios/Release-iphoneos/TapSwiftFixesV2/TapSwiftFixesV2.framework/Modules/TapSwiftFixesV2.swiftmodule/arm64 -apple-ios.swiftmodule import TapSwiftFixesV2 ^

The project minimum is totally iOS 11 for debug, release and profiling, and Tried to specify it manually in the podfile but it still somehow thinking that I'm using the iOS 9 and the minimum is iOS 11.

Screen Shot 2021-04-02 at 4 04 05 PM Screen Shot 2021-04-02 at 4 03 12 PM Screen Shot 2021-04-02 at 4 03 28 PM Screen Shot 2021-04-02 at 4 03 55 PM

WhatsApp Image 2021-03-30 at 3 41 45 PM

I would like to know where is my problem or what's the problem with the cards on the version that is working for me.

Thanks.

kareemTap commented 3 years ago

@quardonprojects It's preferred to use the latest version to get the updates and fixes for the previous versions. Try to set the package to the latest version, then do flutter clean command, delete Podfile and install the packages. then run the project it should generate the podfile project, then you can set the platform :ios, '11.0' in the generated podfile. Please try these steps and update us if the issue got resolved.

AhmedImran619 commented 2 years ago

@kareemTap I am using go_sell_sdk_flutter: ^2.0.7, which is latest version for now but same issue: Compiling for iOS 9.0, but module 'TapSwiftFixesV2' has a minimum deployment target of iOS 11.0 I tried deleting podfile, pod deintegrate, pod install but still having issue. What should I do?

kareemTap commented 2 years ago

@AhmedImran619 Can you please check if you're setting the iOS version to 11.0 or later in the project and inside the podfile?

AhmedImran619 commented 2 years ago

Issue resolved. I just upgraded the flutter version to 2.2.3 and start working