stephencelis/SQLite.swift

SQLCipher decrypt failed on iOS12 & iOS11

Open

#1.057 geöffnet am 12. Aug. 2021

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Swift (1.618 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (10.145 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (4 gemergte PRs in 30 T)

Beschreibung

  • Build Information SQLite.swift (0.12.2),SQLCipher (4.4.3) Xcode 12.2 iOS12 & iOS11

  • How do do you integrate SQLite.swift in your project? CocoaPods

  • My Issue SQLCipher works well on iOS13 and later version,but decrypt failed on iOS12 & iOS11

  • Podfile

pod 'SQLite.swift', '~> 0.12.2'
pod 'SQLite.swift/SQLCipher', '~> 0.12.2'

In order to make a success,I edit @import SQLite3 -> @import SQLCipher in SQLiteObjc.h

when I call the key method,Console print error "[logging] misuse at line 222049 of [95fbac39ba]"

db = try Connection(path)
try db!.key("key")

Thanks in advance for your answers

Contributor Guide