支持 App Store 送检任务按需排除 IPA 符号文件

This commit is contained in:
shenlei
2026-11-23 10:06:23 +09:00
parent d13fcfcdea
commit ab5793631c
9 changed files with 31 additions and 1 deletions
+2
View File
@@ -113,6 +113,8 @@ def _write_export_options(build_dir: Path, config: dict):
"stripSwiftSymbols": True,
"thinning": "<none>",
}
if data["method"] == "app-store-connect" and config.get("EXCLUDE_SYMBOLS"):
data["uploadSymbols"] = False
with (build_dir / "exportOptions.plist").open("wb") as f:
plistlib.dump(data, f)