I've successfully added the wikitude plugin into my iOS environment and it runs fine on a device but for some reason, when I attempt to run it in a simulator I get this error:
duplicate symbol _OpenSSLDie in: /Users/adam/iphone/native/Frameworks/sqlcipher.framework/sqlcipher(cryptlib.o) /Users/adam/iphone/native/libWikitudeSDK.a(cryptlib.o)
ld: 33 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm using the libWikitudeSDK.a and .h/.m classes.
Preceeding that error is this warning, which doesn't appear when building for a device:
ld: warning: tentative definition of '_OPENSSL_ia32cap_P' with size 8 from '/Users/adam/iphone/native/Frameworks/sqlcipher.framework/sqlcipher(cryptlib.o)' is being replaced by real definition of smaller size 4 from '/Users/adam/iphone/native/libWikitudeSDK.a(cryptlib.o)'
Any help would be appreciated.
over 4 years ago
I've found something that could help. If you are using xcode 7.2 go to Build Phases --> Compile Sources and withe the (-) sign, remove the duplicated item the xcode warns. Then compile and that would solve the issue. Hope this helps you to resolve your issue.