Rich-text Reply

duplicate symbol error - FMDatabase

rgal75 05-08-15
Accepted Solution

duplicate symbol error - FMDatabase

Hi

 

While trying to integrate Optimizely on iOS, I am getting the following linker error:

duplicate symbol _FMDBExecuteBulkSQLCallback in:
    /Users/xyz/Library/Developer/Xcode/DerivedData/MyApp-dafpioykizusrcbsjtbrozbmhlzx/Build/Products/Debug-iphoneos/libPods-MyApp-FMDB.a(FMDatabase.o)
    /Users/xyz/work/MyApp/Pods/Optimizely-iOS-SDK/Optimizely.framework/Optimizely(FMDatabase.o)
ld: 1 duplicate symbol for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It looks as if Optimizely had an FMDatabase class and it conflicts the that of FMDB.

 

Can you give me a helping hand how to overcome this issue?

 

Thanks in advance,

Richard

Level 1

Pam 05-08-15
 

Re: duplicate symbol error - FMDatabase

@rgal75 Thanks for reaching out in Optiverse and pointing this out.

 

I sent this over to our engineering team, and we made an update to fix this issue in v1.0.81 of the SDK.

 

You can update the SDK here.  Please let me know if the updated version of the SDK works for you!

Pam
Optimizely
rgal75 05-11-15
 

Re: duplicate symbol error - FMDatabase

Thank you. I can now build by application with Optimizely v1/0/81 as a dependency.
Level 1