我在iOS應用(iOS 7和8)中集成了Paypal 2.11.0。貝寶工作正常,但當我嘗試分發我的應用程序(在檔案)它顯示鏈接器錯誤「架構arm64 64重複的符號」。iOS(Xcode 6.2)支付寶(2.11.0)集成 - 架構arm64的64個重複符號
如何解決它。
有效的架構是ARMv7的,armv7s,arm64
duplicate symbol l034 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PayPalPaymentViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentMethodCell.o) duplicate symbol l035 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PayPalPaymentViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentMethodCell.o) duplicate symbol l036 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentMethodCell.o) duplicate symbol l037 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentMethodCell.o) duplicate symbol l026 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPDeviceCheckViewController.o) duplicate symbol l027 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPDeviceCheckViewController.o) duplicate symbol l028 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPDeviceCheckViewController.o) duplicate symbol l033 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentMethodCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) duplicate symbol l034 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PayPalPaymentViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) duplicate symbol l035 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PayPalPaymentViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) duplicate symbol l036 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) duplicate symbol l037 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) duplicate symbol l038 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentMethodCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) duplicate symbol l034 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PayPalPaymentViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPServiceRequest.o) duplicate symbol l026 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPSelectPayMethodViewControllerIOS6.o) duplicate symbol l027 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPSelectPayMethodViewControllerIOS6.o) duplicate symbol l028 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPSelectPayMethodViewControllerIOS6.o) duplicate symbol l029 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPSelectPayMethodViewControllerIOS6.o) duplicate symbol l030 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPSelectPayMethodViewControllerIOS6.o) duplicate symbol l031 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPSelectPayMethodViewControllerIOS6.o) duplicate symbol l023 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPBaseViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PayPalProfileSharingViewController.o) duplicate symbol l016 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentAttributeSelectionCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) duplicate symbol l017 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentAttributeSelectionCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) duplicate symbol l005 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPTableViewCellDefaults.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l007 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAHeaderTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l008 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAHeaderTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l009 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAHeaderTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l010 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPCreditCardMethodCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l011 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPCreditCardMethodCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l012 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAHeaderTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l013 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAHeaderTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l014 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l015 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l016 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentAttributeSelectionCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l017 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentAttributeSelectionCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l018 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l019 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l020 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPAnalyticsTracker.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(UIImage+ImageEffects.o) duplicate symbol l099 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPAuthConsentViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraAnalyticsTracker.o) duplicate symbol l016 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentAttributeSelectionCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASecurityCodeTableViewCell.o) duplicate symbol l017 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentAttributeSelectionCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASecurityCodeTableViewCell.o) duplicate symbol l018 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASecurityCodeTableViewCell.o) duplicate symbol l019 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASecurityCodeTableViewCell.o) duplicate symbol l020 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPAnalyticsTracker.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASecurityCodeTableViewCell.o) duplicate symbol l018 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPSelectPayMethodViewControllerIOS7.o) duplicate symbol l019 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPSelectPayMethodViewControllerIOS7.o) duplicate symbol l020 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPAnalyticsTracker.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPSelectPayMethodViewControllerIOS7.o) duplicate symbol l010 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPCreditCardMethodCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAHeaderTableViewCell.o) duplicate symbol l011 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPCreditCardMethodCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAHeaderTableViewCell.o) duplicate symbol l022 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PayPalProfileSharingViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PayPalFuturePaymentViewController.o) duplicate symbol l035 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PayPalPaymentViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(FPTIData.o) duplicate symbol l036 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAViewController.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(FPTIData.o) duplicate symbol l033 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentMethodCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPMultipleFieldTableViewCell.o) duplicate symbol l003 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPTableViewCellDefaults.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPViewShake.o) duplicate symbol l004 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPTableViewCellDefaults.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPViewShake.o) duplicate symbol l005 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPTableViewCellDefaults.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPViewShake.o) duplicate symbol l030 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPZebraUI.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPHTML.o) duplicate symbol l013 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FAHeaderTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPModalActivityIndicator.o) duplicate symbol l014 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPModalActivityIndicator.o) duplicate symbol l015 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPModalActivityIndicator.o) duplicate symbol l016 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentAttributeSelectionCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPModalActivityIndicator.o) duplicate symbol l017 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPPaymentAttributeSelectionCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPModalActivityIndicator.o) duplicate symbol l018 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPModalActivityIndicator.o) duplicate symbol l019 in: /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PP2FASMSTableViewCell.o) /Users/rajkumar/Desktop/ThrillCity 2 2/libPayPalMobile.a(PPModalActivityIndicator.o) ld: 64 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
我添加了錯誤代碼,對不起,無法上傳屏幕截圖,我沒有兩次添加相同的庫我已驗證它,清除派生數據,清理,重新啓動並嘗試了所有內容 – user4916757