我正在使用Stripe / Apple pay来实现交易。 我在Stripe.h中使用的方法:
[Stripe createTokenWithPayment:payment
completion:^(STPToken *token, NSError *error)
{
//my implementation
}]
我未能做到的事情:
我已经尝试过:
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是我的不同类。