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

推荐订阅源

Recent Announcements
Recent Announcements
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
博客园_首页
IT之家
IT之家
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
Jina AI
Jina AI
月光博客
月光博客
小众软件
小众软件
S
SegmentFault 最新的问题
量子位
阮一峰的网络日志
阮一峰的网络日志
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

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: stabilize ios screenshot status bar · openclaw/openc...
joshavant · 2026-06-16 · via Recent Commits to openclaw:main

@@ -5,6 +5,12 @@ require "json"

55

default_platform(:ios)

6677

BETA_APP_IDENTIFIER = "ai.openclawfoundation.app"

8+

DEFAULT_SNAPSHOT_DEVICES = ["iPhone 16 Pro Max", "iPad Pro 13-inch (M4)"].freeze

9+

SNAPSHOT_STATUS_BAR_ARGUMENTS = "--time 09:41 --dataNetwork wifi --wifiMode active --wifiBars 3 --cellularMode active --cellularBars 4 --batteryState charged --batteryLevel 100".freeze

10+

REQUIRED_SCREENSHOT_FAMILIES = {

11+

"iPhone" => /iPhone/,

12+

"13-inch iPad" => /iPad (Air|Pro) 13-inch/

13+

}.freeze

814915

def load_env_file(path)

1016

return unless File.exist?(path)

@@ -37,6 +43,22 @@ def screenshot_paths

3743

Dir[File.join(__dir__, "screenshots", "**", "*.png")]

3844

end

394546+

def validate_required_screenshots!(paths)

47+

missing_families = REQUIRED_SCREENSHOT_FAMILIES.filter_map do |name, pattern|

48+

name unless paths.any? { |path| File.basename(path).match?(pattern) }

49+

end

50+

return if missing_families.empty?

51+52+

UI.user_error!("DELIVER_SCREENSHOTS=1 but screenshots are missing for: #{missing_families.join(', ')}.")

53+

end

54+55+

def snapshot_devices

56+

raw = ENV["OPENCLAW_SNAPSHOT_DEVICES"].to_s.strip

57+

return DEFAULT_SNAPSHOT_DEVICES if raw.empty?

58+59+

raw.split(",").map(&:strip).reject(&:empty?)

60+

end

61+4062

def maybe_decode_hex_keychain_secret(value)

4163

return value unless env_present?(value)

4264

@@ -330,8 +352,12 @@ platform :ios do

330352

app_identifier = nil unless env_present?(app_identifier)

331353

app_id = nil unless env_present?(app_id)

332354333-

if screenshot_upload_requested? && screenshot_paths.empty?

334-

UI.user_error!("DELIVER_SCREENSHOTS=1 but no PNG screenshots were found under apps/ios/fastlane/screenshots.")

355+

if screenshot_upload_requested?

356+

paths = screenshot_paths

357+

if paths.empty?

358+

UI.user_error!("DELIVER_SCREENSHOTS=1 but no PNG screenshots were found under apps/ios/fastlane/screenshots.")

359+

end

360+

validate_required_screenshots!(paths)

335361

end

336362337363

deliver_options = {

@@ -357,6 +383,30 @@ platform :ios do

357383

deliver(**deliver_options)

358384

end

359385386+

desc "Generate deterministic iOS screenshots for App Store metadata"

387+

lane :screenshots do

388+

sh(shell_join(["bash", File.join(repo_root, "scripts", "ios-configure-signing.sh")]))

389+

sh(shell_join(["bash", File.join(repo_root, "scripts", "ios-write-version-xcconfig.sh")]))

390+

sh(shell_join(["xcodegen", "generate", "--spec", File.join(ios_root, "project.yml"), "--project", ios_root]))

391+392+

capture_ios_screenshots(

393+

project: File.join(ios_root, "OpenClaw.xcodeproj"),

394+

scheme: "OpenClawUITests",

395+

configuration: "Debug",

396+

devices: snapshot_devices,

397+

languages: ["en-US"],

398+

launch_arguments: ["--openclaw-screenshot-mode"],

399+

output_directory: File.join(ios_root, "fastlane", "screenshots"),

400+

clear_previous_screenshots: true,

401+

reinstall_app: true,

402+

concurrent_simulators: false,

403+

override_status_bar: true,

404+

override_status_bar_arguments: SNAPSHOT_STATUS_BAR_ARGUMENTS,

405+

skip_open_summary: true,

406+

xcargs: "-allowProvisioningUpdates"

407+

)

408+

end

409+360410

desc "Validate App Store Connect API auth"

361411

lane :auth_check do

362412

asc_api_key