fix(mac): clean failed dSYM merges · openclaw/openclaw@b7fef7f
vincentkoc
·
2026-06-21
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -263,6 +263,13 @@ describe("package-mac-dist plist validation", () => {
|
263 | 263 | expect(dsymBlock).toContain("Error: missing DWARF binaries for dSYM merge"); |
264 | 264 | expect(dsymBlock).toContain("Error: dSYM not found"); |
265 | 265 | expect(dsymBlock).toContain("exit 1"); |
| 266 | +expect(script).toContain('if ! cp -R "$1" "$TMP_DSYM"; then'); |
| 267 | +expect(dsymBlock).toContain("cleanup_tmp_dsym"); |
| 268 | +expect(dsymBlock).toContain('copy_dsym_to_tmp "${DSYM_PATHS[0]}"'); |
| 269 | +expect(dsymBlock).not.toContain('cp -R "${DSYM_PATHS[0]}" "$TMP_DSYM"'); |
| 270 | +expect(dsymBlock).toContain( |
| 271 | +'if ! /usr/bin/lipo -create "${DWARF_INPUTS[@]}" -output "$DWARF_OUT"; then', |
| 272 | +); |
266 | 273 | expect(dsymBlock).toContain('if ! ditto -c -k --keepParent "$TMP_DSYM" "$DSYM_ZIP"; then'); |
267 | 274 | expect(dsymBlock).toContain('rm -rf "$TMP_DSYM"'); |
268 | 275 | expect(dsymBlock).not.toContain("WARN:"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。