我正在使用Stripe / Apple pay来实现交易 . 我在Stripe.h中使用的方法:

[Stripe createTokenWithPayment:payment
                    completion:^(STPToken *token, NSError *error) 
{
    //my implementation
}]

我未能做到的事情:

  • 为32位架构构建项目 .

我已经尝试过:

  • 添加其他链接器标志 .

  • 仅将Build Active Architecture设置为YES .

  • 设置架构arm64,armv7,armv7s .

  • 移动基础框架 .

  • 再次删除和添加框架 .

Error :
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_Stripe", referenced from:
      objc-class-ref in ViewController.o
     (maybe you meant: _OBJC_CLASS_$_StripeView)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

PS:StripeView是我的不同类 .