Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: fix ios build (#7982)

Nathan.fooo8301c3f2c3a7
diff --git a/frontend/rust-lib/.cargo/config.toml b/frontend/rust-lib/.cargo/config.toml
index 9a3690f8de..4264090cb0 100644
--- a/frontend/rust-lib/.cargo/config.toml
+++ b/frontend/rust-lib/.cargo/config.toml
@@ -4,3 +4,11 @@ rustflags = ["-C", "link-arg=-mmacosx-version-min=11.0"]
[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-mmacosx-version-min=11.0"]
+
+[env]
+IPHONEOS_DEPLOYMENT_TARGET = "10.0"
+CFLAGS = "-miphoneos-version-min=10.0"
+LDFLAGS = "-miphoneos-version-min=10.0"
+
+[target.aarch64-apple-ios]
+rustflags = ["-C", "link-arg=-miphoneos-version-min=10.0"]
\ No newline at end of file