flutter_stripe_payment icon indicating copy to clipboard operation
flutter_stripe_payment copied to clipboard

Build Failed for IOS - ld: framework not found Stripe3DS2

Open muzammil22 opened this issue 4 years ago • 12 comments

ld: framework not found Stripe3DS2 clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'firebase_core' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Flutter' from project 'Pods')

I ran the example code as as followed the instructions in the medium article. Getting this error even if I fix all the warnings. Any help would be appreciated.

muzammil22 avatar Nov 03 '20 13:11 muzammil22

I got the same bug. did you fix it?

codydev-git avatar Nov 08 '20 23:11 codydev-git

Same error here! Is there a workaround? I am stuck here and not able to update my ios app anymore because of this

aguerola avatar Nov 09 '20 08:11 aguerola

I download the repo. It has the example app code. I tested my logic in the example app. But it isn't a fix still.

muzammil22 avatar Nov 09 '20 08:11 muzammil22

I fixed it. If you upgrade your cocoa pod version to the latest version, it will work well. Good luck.

codydev-git avatar Nov 09 '20 11:11 codydev-git

How do you update your cocoa pods version ?

muzammil22 avatar Nov 09 '20 11:11 muzammil22

sudo gem install cocoapods

codydev-git avatar Nov 09 '20 11:11 codydev-git

Great. thanks alot.

muzammil22 avatar Nov 09 '20 11:11 muzammil22

I already have the latest version of cocoapods (1.10.0), and the issue persists. Any other ideas?

aguerola avatar Nov 10 '20 08:11 aguerola

I trying to change platform ios in podfile from 11.0 into 10.0, then can run successfully

ady-rangga-phtn avatar Nov 12 '20 13:11 ady-rangga-phtn

Any solution

kjawadDeveloper avatar Nov 13 '20 04:11 kjawadDeveloper

For me changing stripe_payment to 11.0 and ensuring all other dependencies are either 11 or above solved it for me

kjawadDeveloper avatar Nov 23 '20 03:11 kjawadDeveloper

I trying to change platform ios in podfile from 11.0 into 10.0, then can run successfully

This worked for me too!

What is the negatives with moving down a global platform version? Surely this is better as more devices can run the app ?

sunnyp18 avatar Nov 23 '20 17:11 sunnyp18