Skip to content

Commit 8f98e01

Browse files
committed
Target iOS 11+.
1 parent 1cbaefb commit 8f98e01

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.cargo/config

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,21 @@ rustflags = [
1919
]
2020

2121

22+
# For iOS and macOS, we need to specify the minimum/target version.
23+
# This must match the versions in the podspec file.
2224
[target.aarch64-apple-ios]
2325
rustflags = [
24-
"-C", "link-arg=-mios-version-min=14.0",
26+
"-C", "link-arg=-mios-version-min=11.0",
2527
]
2628

2729
[target.aarch64-apple-ios-sim]
2830
rustflags = [
29-
"-C", "link-arg=-miphonesimulator-version-min=14.0",
31+
"-C", "link-arg=-miphonesimulator-version-min=11.0",
3032
]
3133

3234
[target.x86_64-apple-ios]
3335
rustflags = [
34-
"-C", "link-arg=-miphonesimulator-version-min=14.0",
36+
"-C", "link-arg=-miphonesimulator-version-min=11.0",
3537
]
3638

3739

powersync-sqlite-core.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ PowerSync extension for SQLite.
1414
s.vendored_frameworks = 'powersync-sqlite-core.xcframework'
1515

1616

17-
s.ios.deployment_target = '14.0'
17+
s.ios.deployment_target = '11.0'
1818
# osx not supported yet
1919
s.osx.deployment_target = '10.13'
2020
end

0 commit comments

Comments
 (0)