hello @Viswanth92, I had to downgrade my Xcode as well, and I faced the same problem, what I did was install Sqlite manually (download version 0.11.5 and copy xcproject to your project) as said in the README and it works for me, hope it helps.
If you have any questions about it you can @'me hehe
Having the same issue, it seems that 0.11.6+ should be marked as "Swift 5 Required" and not "Swift 5 Supported"
It seems like possibly replacing the implementation of datatypeValue in Foundation.swift with the following could be a possible solution to continue supporting both versions but I am unclear how safe this change actually is.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'