I recently updated to Xcode 7.0 and am trying to build my project which uses the SQLite.swift library. After converting to the latest swift syntax (Edit->Convert->To Latest Swift Syntax...) I get so many errors and I don't know where to begin fixing them. I also tried to convert the SQLite.swift project separately but always get many warnings at compilation time and some errors like:
/Users/dobrev/Development/iOS/SQLite.swift/SQLite/Statement.swift:25:30: error: cannot invoke initializer for type 'sqlite3_destructor_type' with an argument list of type '(COpaquePointer)'
internal let SQLITE_STATIC = sqlite3_destructor_type(COpaquePointer(bitPattern: 0))
^
/Users/dobrev/Development/iOS/SQLite.swift/SQLite/Statement.swift:26:33: error: cannot invoke initializer for type 'sqlite3_destructor_type' with an argument list of type '(COpaquePointer)'
internal let SQLITE_TRANSIENT = sqlite3_destructor_type(COpaquePointer(bitPattern: -1))
which at the end result in Command failed due to signal: Segmentation fault 11
Can someone help?