Closed Trannosaur closed 3 years ago
Just for funsies I hacked in the fix and changed Connection.swift:590 to flags |= sqlite3.SQLITE_DETERMINISTIC,
But then when you add pod 'sqlite3/fts5', '= 3.15.0' # SQLite 3.15.0 with FTS5 enabled to the Podfile a bunch more issues arise (of the exact same nature)
I have found a temporary solution. Check https://github.com/stephencelis/SQLite.swift/pull/970
My podfile now:
pod 'SQLite.swift/standalone', :git => 'https://github.com/stephencelis/SQLite.swift', :branch => 'master'
pod 'sqlite3', '3.29.0'
So, u have to install version from master.
@stephencelis - Hope this message finds you well! You're probably scrambling with supporting the new iOS 14 release and cramped for time. I know I am haha. Anyway, wanted to call your attention to this post where it looks like the fix for supporting Xcode 12 is already in master. Would it be possible to cut a release? Thanks for considering! Maybe #1006 would also fix the root issue?
@Pulichev - Appreciate letting us know of a workaround, this worked for me, thank you!
Closing as it was fixed
Build Information
General guidelines
Sadly this means I can't use FTS or anything since the non-standalone version isn't compatible.
Use this podfile: use_frameworks!
workspace 'targetname'
target 'targetname' do pod 'SQLite.swift/standalone', '~> 0.12.2' pod 'sqlite3/fts5', '= 3.15.0' # SQLite 3.15.0 with FTS5 enabled
end