嗨,我正在尝试实现 Phonegap Paypal 插件(https://github.com/searchtool/PayPalPlugin),但无法编译 - 我在 Xcode 中收到以下错误。
Undefined symbols for architecture armv7s:
"_OBJC_CLASS_$_PayPalInvoiceItem", referenced from:
objc-class-ref in SAiOSPaypalPlugin.o
"_OBJC_CLASS_$_PayPalPayment", referenced from:
objc-class-ref in SAiOSPaypalPlugin.o
"_OBJC_CLASS_$_PayPal", referenced from:
objc-class-ref in SAiOSPaypalPlugin.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我遵循了类似 SO 帖子中的建议 - 通过右键单击项目并使用“将文件添加到”方法添加的所有文件。但总是得到链接器错误!不知道从哪里开始——有什么建议吗?