flutter_stripe_payment
flutter_stripe_payment copied to clipboard
Build failed on IOS - building for iOS-armv7 but attempting to link with file built for iOS-arm64
/Users/ahmedabosrie/development/albyrakappx/build/ios/Release-iphoneos/Stripe/S tripe.framework/Stripe, building for iOS-armv7 but attempting to link with file built for iOS-arm64 Undefined symbols for architecture armv7: "OBJC_CLASS$_STPAPIClient", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPSetupIntentConfirmParams", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPAppInfo", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPPaymentIntentParams", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPPaymentMethodParams", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPTheme", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPPaymentMethodBillingDetails", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPPaymentMethodAddress", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPCardParams", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPAddCardViewController", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPAddress", referenced from: objc-class-ref in TPSStripeManager.o "_STPStringFromCardBrand", referenced from: -[StripeModule cardBrandAsPresentableBrandString:] in TPSStripeManager.o "OBJC_CLASS$_STPPaymentHandler", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPBankAccountParams", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPPaymentConfiguration", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_Stripe", referenced from: objc-class-ref in TPSStripeManager.o (maybe you meant: OBJC_CLASS$_StripePaymentPlugin, OBJC_CLASS$_StripeModule ) "OBJC_CLASS$_STPPaymentMethodCardParams", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPUserInformation", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPRedirectContext", referenced from: objc-class-ref in TPSStripeManager.o "OBJC_CLASS$_STPSourceParams", referenced from: objc-class-ref in TPSStripeManager.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build systemnote: Planning buildnote: Constructing build description
same here
I fixed the issue buy changing the target IOS of the plugin to 11
I fixed the issue buy changing the target IOS of the plugin to 11
Hi @Abosrie , can you tell me how you changed that? means from where? I am facing the same issue
Same issue here,
Solved by changing target to 11. To do it:
Open your project in XCode. In Pods project, click stripe_payment. Then click Build Settings. Then search for iOS Deployment Target. Change it to 11.0.