File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,10 +77,14 @@ if phone_version then
7777 end
7878
7979 if use_sqlite_vec then
80- raise "SQLite Vec is not supported with phone version. It cannot load extensions."
80+ raise "sqlite-vec is not supported with phone version. It cannot load extensions."
8181 end
8282end
8383
84+ if use_libsql and use_sqlite_vec then
85+ raise "You cannot use sqlite-vec with libsql. libsql already has vector search included."
86+ end
87+
8488Pod ::Spec . new do |s |
8589 s . name = "op-sqlite"
8690 s . version = package [ "version" ]
@@ -184,6 +188,9 @@ Pod::Spec.new do |s|
184188
185189 if use_libsql then
186190 xcconfig [ :GCC_PREPROCESSOR_DEFINITIONS ] += " OP_SQLITE_USE_LIBSQL=1"
191+ if use_sqlite_vec then
192+
193+ end
187194 if use_crsqlite then
188195 frameworks = [ "ios/libsql_experimental.xcframework" , "ios/crsqlite.xcframework" ]
189196 else
You can’t perform that action at this time.
0 commit comments