Hi,
I integrated free version of SQLCipher manually(not from cocoa pods).
Can you provide me the link for how to install through cocoa pods as I couldn’t find it.
It is working fine in sample project but not in the main project.
thanks
Subbu
Because the sample project works fine for you, my best guess is that you have something duplicated in your main project. This StackOverflow post sounds like it’s identical to your error. So I would recommend going through your project and making sure you aren’t duplicating imports of something that was already imported via one of the dependencies you use. Sometimes it can be useful to create a new project and add dependencies one by one to figure out at what point the issue occurs (starting with SQLCipher first).
Can you provide me the link for how to install through cocoa pods as I couldn’t find it.
While we don’t provide instructions on how to integrate SQLCipher via cocoa pods, it’s relatively straight forward if you know how to use cocoa pods:
After you initialize a Podfile (using pod init), just place pod 'SQLCipher' within it, then pod install.
Then if you’re using swift you’ll also need to add $(PODS_ROOT)/SQLCipher to the Header Search Paths of your project (we’re planning on adjusting that in the podspec in the next release of SQLCipher), and add the Bridging Header (similar to the standard SQLCipher integration instructions).
Let me know if you’re able to locate the duplicate issue in your main project.