Missing argument label 'value:' in call
- macos: Version 15.0 Beta (24A5298h)
- Xcode: Version 16.0 beta 6 (16A5230g)
- SQLite.swift: 8d054987f02728cc912b0eb5a9659650573a65a2
*error:
There are some work arounds here: https://github.com/stephencelis/SQLite.swift/issues/1269
Of the ones listed, this is the one that works for me: typealias Expression = SQLite.Expression
I could not get import SQLite.Expression to work.
also happens in Xcode Release Version 16.0 (16A242d)
Changing "Expression
There are some work arounds here: #1269
Of the ones listed, this is the one that works for me:
typealias Expression = SQLite.ExpressionI could not get
import SQLite.Expressionto work.
Thank you! but, do you know if after adding the typealias, the change won't affect someone working in the same project with Xcode 15 for example?
@available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
public struct Expression<each Input, Output> : Sendable {
public let expression: any StandardPredicateExpression<Output>
public let variable: (repeat PredicateExpressions.Variable<each Input>)
public init(_ builder: (repeat PredicateExpressions.Variable<each Input>) -> any StandardPredicateExpression<Output>)
public func evaluate(_ input: repeat each Input) throws -> Output
}
this code is ios 18 new define, maybe conflict;
Its just because compiler assume that its Swift.Expression not SQLite.Expression Solution: 1- Just change Expression to SQLite.Expression in code 2- Rename public struct expression in SQLite framework
There are some work arounds here: #1269
Of the ones listed, this is the one that works for me:
typealias Expression = SQLite.ExpressionI could not get
import SQLite.Expressionto work.
What looks like a namespace problem is completely solved by changing typealias SQLiteExpression = SQLite.Expression