惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
量子位
雷峰网
雷峰网
宝玉的分享
宝玉的分享
V
Visual Studio Blog
博客园_首页
小众软件
小众软件
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
S
SegmentFault 最新的问题
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(mac): harden restart and dSYM packaging · openclaw/op...
vincentkoc · 2026-05-27 · via Recent Commits to openclaw:main

@@ -19,6 +19,11 @@ APP_VERSION_INPUT="${APP_VERSION:-$(cd "$ROOT_DIR" && node -p "require('./packag

1919

# Default to universal binary for distribution builds (supports both Apple Silicon and Intel Macs)

2020

export BUILD_ARCHS="${BUILD_ARCHS:-all}"

2121

export BUILD_CONFIG

22+

DSYM_ARCHS_VALUE="$BUILD_ARCHS"

23+

if [[ "$DSYM_ARCHS_VALUE" == "all" ]]; then

24+

DSYM_ARCHS_VALUE="arm64 x86_64"

25+

fi

26+

IFS=' ' read -r -a DSYM_ARCHS <<< "$DSYM_ARCHS_VALUE"

22272328

# Use release bundle ID (not .debug) so Sparkle auto-update works.

2429

# The .debug suffix in package-mac-app.sh blanks SUFeedURL intentionally for dev builds.

@@ -136,24 +141,49 @@ else

136141

fi

137142138143

if [[ "$SKIP_DSYM" != "1" ]]; then

139-

DSYM_ARM64="$(find "$BUILD_ROOT/arm64" -type d -path "*/$BUILD_CONFIG/$PRODUCT.dSYM" -print -quit)"

140-

DSYM_X86="$(find "$BUILD_ROOT/x86_64" -type d -path "*/$BUILD_CONFIG/$PRODUCT.dSYM" -print -quit)"

141-

if [[ -n "$DSYM_ARM64" || -n "$DSYM_X86" ]]; then

144+

DSYM_PATHS=()

145+

MISSING_DSYM_ARCHS=()

146+

for arch in "${DSYM_ARCHS[@]}"; do

147+

if [[ ! -d "$BUILD_ROOT/$arch" ]]; then

148+

MISSING_DSYM_ARCHS+=("$arch")

149+

continue

150+

fi

151+

DSYM_FOR_ARCH="$(find "$BUILD_ROOT/$arch" -type d -path "*/$BUILD_CONFIG/$PRODUCT.dSYM" -print -quit)"

152+

if [[ -n "$DSYM_FOR_ARCH" ]]; then

153+

DSYM_PATHS+=("$DSYM_FOR_ARCH")

154+

else

155+

MISSING_DSYM_ARCHS+=("$arch")

156+

fi

157+

done

158+159+

if [[ "${#MISSING_DSYM_ARCHS[@]}" -gt 0 ]]; then

160+

echo "Error: dSYM not found for architecture(s): ${MISSING_DSYM_ARCHS[*]} (set SKIP_DSYM=1 to skip symbols)" >&2

161+

exit 1

162+

fi

163+164+

if [[ "${#DSYM_PATHS[@]}" -gt 0 ]]; then

142165

TMP_DSYM="$ROOT_DIR/dist/$PRODUCT.dSYM"

143166

rm -rf "$TMP_DSYM"

144-

if [[ -n "$DSYM_ARM64" && -n "$DSYM_X86" ]]; then

145-

cp -R "$DSYM_ARM64" "$TMP_DSYM"

167+

if [[ "${#DSYM_PATHS[@]}" -gt 1 ]]; then

168+

cp -R "${DSYM_PATHS[0]}" "$TMP_DSYM"

146169

DWARF_OUT="$TMP_DSYM/Contents/Resources/DWARF/$PRODUCT"

147-

DWARF_ARM="$DSYM_ARM64/Contents/Resources/DWARF/$PRODUCT"

148-

DWARF_X86="$DSYM_X86/Contents/Resources/DWARF/$PRODUCT"

149-

if [[ -f "$DWARF_ARM" && -f "$DWARF_X86" ]]; then

150-

/usr/bin/lipo -create "$DWARF_ARM" "$DWARF_X86" -output "$DWARF_OUT"

170+

DWARF_INPUTS=()

171+

for dsym in "${DSYM_PATHS[@]}"; do

172+

DWARF_INPUT="$dsym/Contents/Resources/DWARF/$PRODUCT"

173+

if [[ ! -f "$DWARF_INPUT" ]]; then

174+

echo "Error: missing DWARF binaries for dSYM merge (set SKIP_DSYM=1 to skip symbols)" >&2

175+

exit 1

176+

fi

177+

DWARF_INPUTS+=("$DWARF_INPUT")

178+

done

179+

if [[ "${#DWARF_INPUTS[@]}" -gt 1 ]]; then

180+

/usr/bin/lipo -create "${DWARF_INPUTS[@]}" -output "$DWARF_OUT"

151181

else

152182

echo "Error: missing DWARF binaries for dSYM merge (set SKIP_DSYM=1 to skip symbols)" >&2

153183

exit 1

154184

fi

155185

else

156-

cp -R "${DSYM_ARM64:-$DSYM_X86}" "$TMP_DSYM"

186+

cp -R "${DSYM_PATHS[0]}" "$TMP_DSYM"

157187

fi

158188

echo "🧩 dSYM: $DSYM_ZIP"

159189

rm -f "$DSYM_ZIP"