Skip to content

Commit eb750f6

Browse files
committed
dylib ios
1 parent 93bba9e commit eb750f6

File tree

15 files changed

+275
-196
lines changed

15 files changed

+275
-196
lines changed

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2027,7 +2027,7 @@ EXTERNAL SOURCES:
20272027
SPEC CHECKSUMS:
20282028
FBLazyVector: 2e5b5553df729e080483373db6f045201ff4e6db
20292029
hermes-engine: 273e30e7fb618279934b0b95ffab60ecedb7acf5
2030-
op-sqlite: 4651f571998e9739cd4fe16f033bd8a159279da6
2030+
op-sqlite: 137a619945c21df76fda2744680061b8f3251839
20312031
OpServer: 9b3ebdeeb095950e760e3c39853cd06849421b35
20322032
RCTDeprecation: c6b36da89aa26090c8684d29c2868dcca2cd4554
20332033
RCTRequired: 1413a0844770d00fa1f1bb2da4680adfa8698065

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"node": ">=18"
4646
},
4747
"op-sqlite": {
48-
"libsql": false,
48+
"libsql": true,
4949
"sqlcipher": false,
5050
"iosSqlite": false,
5151
"fts5": true,

ios/libsql.xcframework/ios-arm64/Headers/libsql.h

Lines changed: 0 additions & 178 deletions
This file was deleted.
-32.8 MB
Binary file not shown.
Binary file not shown.

ios/libsql.xcframework/Info.plist renamed to ios/libsql_experimental.xcframework/Info.plist

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@
55
<key>AvailableLibraries</key>
66
<array>
77
<dict>
8-
<key>BinaryPath</key>
9-
<string>libsql_experimental.a</string>
10-
<key>HeadersPath</key>
11-
<string>Headers</string>
128
<key>LibraryIdentifier</key>
139
<string>ios-arm64</string>
1410
<key>LibraryPath</key>
15-
<string>libsql_experimental.a</string>
11+
<string>libsql_experimental.framework</string>
1612
<key>SupportedArchitectures</key>
1713
<array>
1814
<string>arm64</string>
@@ -21,18 +17,13 @@
2117
<string>ios</string>
2218
</dict>
2319
<dict>
24-
<key>BinaryPath</key>
25-
<string>libsql_experimental.a</string>
26-
<key>HeadersPath</key>
27-
<string>Headers</string>
2820
<key>LibraryIdentifier</key>
29-
<string>ios-arm64_x86_64-simulator</string>
21+
<string>ios-arm64-simulator</string>
3022
<key>LibraryPath</key>
31-
<string>libsql_experimental.a</string>
23+
<string>libsql_experimental.framework</string>
3224
<key>SupportedArchitectures</key>
3325
<array>
3426
<string>arm64</string>
35-
<string>x86_64</string>
3627
</array>
3728
<key>SupportedPlatform</key>
3829
<string>ios</string>
@@ -44,5 +35,9 @@
4435
<string>XFWK</string>
4536
<key>XCFrameworkFormatVersion</key>
4637
<string>1.0</string>
38+
<key>CFBundleVersion</key>
39+
<string>1.0.0</string>
40+
<key>CFBundleShortVersionString</key>
41+
<string>1.0.0</string>
4742
</dict>
48-
</plist>
43+
</plist>

cpp/libsql/libsql.h renamed to ios/libsql_experimental.xcframework/ios-arm64-simulator/libsql_experimental.framework/Headers/libsql.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ int libsql_open_file(const char *url, libsql_database_t *out_db, const char **ou
9393

9494
int libsql_open_remote(const char *url, const char *auth_token, libsql_database_t *out_db, const char **out_err_msg);
9595

96+
int libsql_open_remote_with_remote_encryption(const char *url,
97+
const char *auth_token,
98+
const char *remote_encryption_key,
99+
libsql_database_t *out_db,
100+
const char **out_err_msg);
101+
96102
int libsql_open_remote_with_webpki(const char *url,
97103
const char *auth_token,
98104
libsql_database_t *out_db,
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>libsql_experimental</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>com.turso.libsql-experimental</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundlePackageType</key>
14+
<string>FMWK</string>
15+
<key>CFBundleSignature</key>
16+
<string>????</string>
17+
<key>CFBundleVersion</key>
18+
<string>1.0.0</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>1.0.0</string>
21+
<key>MinimumOSVersion</key>
22+
<string>13.0</string>
23+
</dict>
24+
</plist>
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>files</key>
6+
<dict>
7+
<key>Info.plist</key>
8+
<data>
9+
y2tAwL6cV6izJFZOQN6d4oaV1Wk=
10+
</data>
11+
</dict>
12+
<key>files2</key>
13+
<dict/>
14+
<key>rules</key>
15+
<dict>
16+
<key>^.*</key>
17+
<true/>
18+
<key>^.*\.lproj/</key>
19+
<dict>
20+
<key>optional</key>
21+
<true/>
22+
<key>weight</key>
23+
<real>1000</real>
24+
</dict>
25+
<key>^.*\.lproj/locversion.plist$</key>
26+
<dict>
27+
<key>omit</key>
28+
<true/>
29+
<key>weight</key>
30+
<real>1100</real>
31+
</dict>
32+
<key>^Base\.lproj/</key>
33+
<dict>
34+
<key>weight</key>
35+
<real>1010</real>
36+
</dict>
37+
<key>^version.plist$</key>
38+
<true/>
39+
</dict>
40+
<key>rules2</key>
41+
<dict>
42+
<key>.*\.dSYM($|/)</key>
43+
<dict>
44+
<key>weight</key>
45+
<real>11</real>
46+
</dict>
47+
<key>^(.*/)?\.DS_Store$</key>
48+
<dict>
49+
<key>omit</key>
50+
<true/>
51+
<key>weight</key>
52+
<real>2000</real>
53+
</dict>
54+
<key>^.*</key>
55+
<true/>
56+
<key>^.*\.lproj/</key>
57+
<dict>
58+
<key>optional</key>
59+
<true/>
60+
<key>weight</key>
61+
<real>1000</real>
62+
</dict>
63+
<key>^.*\.lproj/locversion.plist$</key>
64+
<dict>
65+
<key>omit</key>
66+
<true/>
67+
<key>weight</key>
68+
<real>1100</real>
69+
</dict>
70+
<key>^Base\.lproj/</key>
71+
<dict>
72+
<key>weight</key>
73+
<real>1010</real>
74+
</dict>
75+
<key>^Info\.plist$</key>
76+
<dict>
77+
<key>omit</key>
78+
<true/>
79+
<key>weight</key>
80+
<real>20</real>
81+
</dict>
82+
<key>^PkgInfo$</key>
83+
<dict>
84+
<key>omit</key>
85+
<true/>
86+
<key>weight</key>
87+
<real>20</real>
88+
</dict>
89+
<key>^embedded\.provisionprofile$</key>
90+
<dict>
91+
<key>weight</key>
92+
<real>20</real>
93+
</dict>
94+
<key>^version\.plist$</key>
95+
<dict>
96+
<key>weight</key>
97+
<real>20</real>
98+
</dict>
99+
</dict>
100+
</dict>
101+
</plist>

0 commit comments

Comments
 (0)