Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crash in Xcode 10.2 & error: unrecognized token: ":" #894

Closed
milan-galitein opened this issue Mar 28, 2019 · 11 comments
Closed

App crash in Xcode 10.2 & error: unrecognized token: ":" #894

milan-galitein opened this issue Mar 28, 2019 · 11 comments

Comments

@milan-galitein
Copy link

App crash for this line: try! db.scalar(table.count)

Error: unrecognized token: ":"

@tanzolone
Copy link

Duplicate of #888

@eschao
Copy link

eschao commented Mar 31, 2019

@tanzolone & @milan-galitein Is it really solved? I updated the latest with carthage and built again, but still have the same problem in my app:

2019-03-31 18:08:15.747002+0800 [4122:899969] [logging] unrecognized token: ":"

@vajjhalas
Copy link

as per #895

"it still does't work (Cocoapods),
but "pod 'SQLite.swift', :git => 'https://github.com/stephencelis/SQLite.swift', :branch => 'master'
" is working right."

@juanjoseluisgarcia
Copy link

it doesn't work on carthage either.

@mitesh-iosdev
Copy link

Yes, I am facing the same issue :(. Anyone got solution for this?
[2901:106131] [logging] unrecognized token: ":"

@juanjoseluisgarcia
Copy link

@mitesh-iosdev my fix is to move to GRDB.swift. It works with Swift 5. It gives warnings but works well except for the in memory database that I don’t use.

@joris1995
Copy link

Is there any fix for this issue yet? I have a swift 5 project had to force my pods to swift 4.2 for SQLite.swift to compile but I am still getting an error when doing a database.scalar(anything): unrecognized token: ":" (code: 1). I Tried @vajjhalas' fix but that doesn't work for me either.

@juanjoseluisgarcia
Copy link

It seems the author is busy and has abandoned the project. There is no even a help wanted sign on the issue so we can submit a pull request... As I said I already switched to GRDB.swift

@ulaserdegor
Copy link

I'm having the same problem. Estimated when it is solved?

@Samback
Copy link

Samback commented Apr 16, 2019

Hi to all,
I have faced yesterday with the same issue. Check your query request, I had a problem with != ""

@mitesh-iosdev
Copy link

I resolved the issue by master branch and working for me. Please try once

pod 'SQLite.swift', :git => 'https://github.com/stephencelis/SQLite.swift', :branch => 'master'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants