-
Notifications
You must be signed in to change notification settings - Fork 370
Duplicate Symbols Errors #327
Comments
I recommend upgrading to Xcode 7. Unfortunately, there is a general issue if there's any compiled Bitcode enabled code within the library will cause Xcode 6.4 or lower to not link correctly. I'll leave this issue open as I'm still investigating if there's any other way but it is better to upgrade to Xcode 7 through the App Store. Note that the PayPal iOS SDK is not completely bitcode enabled yet. We are still investigating the card.io Bitcode enablement. |
-Edit: Issue have been fixed, I uninstall the Xcode 7 beta to install Xcode 7 and it started working on Xcode 6.4 too. |
The biggest problem moving to new environment is that every one is not ready yet. |
Hi, please try release 2.11.5 which was built without Bitcode enabled. It has the latest fixes but does not have Bitcode enabled at all in the static library which should fix the duplicate symbol issue. |
Hi, I added the SDK, followed all the instructions and compiled, had errors mentioned bellow. Then I just compiled the Sample code, same error. Running on Xcode is 6.4. While same code was able to run on Xcode 7.0 beta 5.
Now going to download Xcode 7, any solution before Xcode 7 is downloaded. Thanks.
duplicate symbol _llvm.cmdline in:
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskDeviceData.o)
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskUtility.o)
duplicate symbol _llvm.embedded.module in:
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskDeviceData.o)
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskUtility.o)
duplicate symbol _llvm.cmdline in:
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskDeviceData.o)
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskConfiguration.o)
duplicate symbol _llvm.embedded.module in:
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskDeviceData.o)
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskConfiguration.o)
duplicate symbol _llvm.cmdline in:
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskDeviceData.o)
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskLinkerID.o)
duplicate symbol _llvm.embedded.module in:
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskDeviceData.o)
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskLinkerID.o)
duplicate symbol _llvm.cmdline in:
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskDeviceData.o)
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskComponent.o)
duplicate symbol _llvm.embedded.module in:
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskDeviceData.o)
/Users/asifhabib/Downloads/PayPal-iOS-SDK-6da680505fd8110a12d027b379f128a960ce349e/PayPalMobile/libPayPalMobile.a(PPRiskComponent.o)
ld: 8 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: