skip to Main Content

When you will update Xcode 15 to Xcode 16, you will get many errors using SQLite.swift library.

For example: Missing argument label 'value:' in call etc, etc.

How to fix them?

2

Answers


  1. Chosen as BEST ANSWER

    How to fix it?

    Just add typealias Expression = SQLite.Expression as a class attribute. It worked perfectly fine for me. Other solutions could be to import SQLite.Expression if it can work for your case.

    References:

    https://github.com/stephencelis/SQLite.swift/issues/1269

    https://github.com/stephencelis/SQLite.swift/issues/1277


  2. Xcode 15

    Expression<String>("id")
    

    Xcode 16

    SQLite.Expression<String>("id")
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search