我收到此錯誤報告。如何解決它?如何解決ios中的這種架構錯誤?
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_PayPalPayment", referenced from: objc-class-ref in PBMainViewController.o "_OBJC_CLASS_$_PayPalPaymentViewController", referenced from: _OBJC_CLASS_$_PBPayPalViewController in PBPayPalViewController.o "_OBJC_METACLASS_$_PayPalPaymentViewController", referenced from: _OBJC_METACLASS_$_PBPayPalViewController in PBPayPalViewController.o "_PayPalEnvironmentNoNetwork", referenced from: -[PBMainViewController payWithPayPal:] in
PBMainViewController
.o ld:
symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
你使用任何外部庫嗎?可能它們不是爲x86_64構建的 –
嘗試設備一次 –
如何在模擬器中修復 – Barani