fix: 统一打包副本 Podfile 大小写

This commit is contained in:
shenlei
2026-07-20 14:34:18 +09:00
parent 2661435273
commit 2ad5f208ed
3 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ COPY_ITEMS = [
"readoor.xcodeproj",
"readoorTests",
"Vendor",
"podfile",
"Podfile",
"Pods",
"Podfile.lock",
"readoor.xcworkspace",
+4
View File
@@ -486,6 +486,10 @@ async def copy_source_code(task_id: str, task, source_dir: Path) -> Path:
for item in COPY_ITEMS:
src = source_dir / item
# 历史分支中该文件可能仍是小写 podfile;构建副本统一使用 Pods.xcodeproj
# 引用的标准名称 Podfile,避免大小写敏感文件系统报路径不一致。
if item == "Podfile" and not src.is_file():
src = source_dir / "podfile"
dst = build_dir / item
if src.is_dir():
await log_streamer.emit(task_id, f"拷贝目录: {item}")