Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Issue in iOS app ARPro and AR integration

Alex Oct 18, 2017

Hi, I trying update the Pro SDK from 4.4 to 5.1 but i find this error (duplicate symbols for architecture arm64). The architecture is "Standard architectures" and the deployment target is iOS 9.0 . To solve that issue, i removed and added back Catchoom SDK but nothing. Please help me to solve.

........duplicate symbol _png_set_packing in:
/Users/admin/Documents/JOB/Teva/CraftARProSDK.framework/CraftARProSDK(pngtrans.o-arm64)
/Users/admin/Documents/JOB/Teva/CraftARProSDK.framework/CraftARProSDK(pngtrans.o)
duplicate symbol _png_set_invert_alpha in:
/Users/admin/Documents/JOB/Teva/CraftARProSDK.framework/CraftARProSDK(pngtrans.o-arm64)
/Users/admin/Documents/JOB/Teva/CraftARProSDK.framework/CraftARProSDK(pngtrans.o)
duplicate symbol _png_set_swap_alpha in:
/Users/admin/Documents/JOB/Teva/CraftARProSDK.framework/CraftARProSDK(pngtrans.o-arm64)
/Users/admin/Documents/JOB/Teva/CraftARProSDK.framework/CraftARProSDK(pngtrans.o)
duplicate symbol _png_set_add_alpha in:
/Users/admin/Documents/JOB/Teva/CraftARProSDK.framework/CraftARProSDK(pngtrans.o-arm64)
/Users/admin/Documents/JOB/Teva/CraftARProSDK.framework/CraftARProSDK(pngtrans.o)
ld: 43 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Thanks
Alex


( Agent )
Luis Martinell

Oct 18, 2017

Hi Alex,

does the examples app work for you or it also shows this error? Can you compare the build settings of the examples with your app in the case the former works?

Best regards,
Luis

0 rated
Alex

Oct 18, 2017

Hi Luis,

app examples work. Comparing the two build settings are the same. My project compiles only on the simulator while there are always these eight errors on the device. I use cocoa pods so I do not add Pods.framework. (It is very strange with the previous version worked).

duplicate symbol _jpeg_std_message_table in:
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jerror.o-armv7)
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jerror.o)
duplicate symbol _jpeg_natural_order in:
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o)
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o-armv7)
duplicate symbol _jpeg_natural_order7 in:
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o)
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o-armv7)
duplicate symbol _jpeg_natural_order6 in:
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o)
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o-armv7)
duplicate symbol _jpeg_natural_order5 in:
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o)
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o-armv7)
duplicate symbol _jpeg_natural_order4 in:
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o)
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o-armv7)
duplicate symbol _jpeg_natural_order3 in:
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o)
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o-armv7)
duplicate symbol _jpeg_natural_order2 in:
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o)
/Users/admin/Documents/JOB/Teva/CraftARAugmentedRealitySDK.framework/CraftARAugmentedRealitySDK(jutils.o-armv7)
ld: 8 duplicate symbols for architecture armv7
0 rated
( Agent )
Luis Martinell

Oct 19, 2017

Hi Alex,

You need to set the “dead code stripping” Build setting to YES. We tested this an confirmed that this is causing the issue you describe.

Best regards,
Luis

1 rated

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Couldn't find what you were looking for?

support@catchoom.com
https://cdn.desk.com/
false
catchoom
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete