Redefinition on Xcode 12, work fine on Xcode 11

Error redefintion

bridging-header.h implement #import “sqlite3.h”. I was follow SQLCipher Community Edition - iOS and macOS Tutorial - Zetetic and use Cocoapod Integration. Any suggest?

Are you including any other pods which have dependencies on standard sqlite? SQLCipher does not support being included in projects which have dependencies on standard sqlite.

I just retested pod integration using SQLCipher 4.4.3 (the latest) and it worked fine for me without this redefinition error.

Thanks for your response, after add manually sqlchiper our project work fine. Thanks for your recommendation.


Glad to hear it’s working for you. I would recommend reading this advisory to ensure that SQLCipher is properly linked going forwards: Important Advisory: SQLCipher with Xcode 8 and new SDKs