skip to Main Content

enter image description hereFlutter version 1.22.2
Xcode 12.1

the app builds fine in the simulator but trying to generate an archive for App Store fails with: 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

2

Answers


  1. I have deployment target to 11.0.

    XCode->Pods->stripe_payment->Build Setting. Change the iOS Deployment Target to 11.0. Without knowing exact reason for the problem however this worked for me.

    I have attached the xcode ss.

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search