macOS26.2编译Chromium源码iOS平台

编辑已有源码.gclient增加ios平台

同步iOS平台源码

bash 复制代码
gclient sync --with_branch_heads --with_tags -D

同步成功

生成iOS编译配置gn文件

生成iOS模拟器配置

bash 复制代码
gn gen out/ios_sim --args='
target_os="ios"
target_cpu="x64"
target_environment="simulator"
is_debug=true
enable_arc=true
ios_enable_code_signing=false
'

gn文件生成成功

开始编译...

bash 复制代码
ninja -C out/ios_sim ios:all

编译成功

安装到iOS模拟器并启动

查看模拟器列表

bash 复制代码
xcrun simctl list devices

启动模拟器

bash 复制代码
boot "iPhone 17 Pro"

安装编译好的chromium.app到iOS模拟器中

bash 复制代码
xcrun simctl install booted out/ios_sim/chromiym.app
相关推荐
一点晖光7 分钟前
ios底部按钮被挡住
前端·ios·微信小程序
sao.hk10 小时前
ubuntu2404安装k3s
前端·chrome
chinesegf10 小时前
iTunes Lookup API 规则具体(查包名)
ios
C+++Python17 小时前
iOS 长截图
ios
John_ToDebug17 小时前
Chromium WebUI 定制实践:从 C++ 注入到 JS 安全展示全链路解析
javascript·c++·chrome
货拉拉技术19 小时前
iOS疑难Crash-_dispatch_barrier_waiter_redirect_or_wake 崩溃治理
ios
你怎么知道我是队长21 小时前
python---进程
开发语言·chrome·python
chinesegf21 小时前
iOS 内购收据验证的基础实现
ios
OpenTiny社区21 小时前
博文精读:Chrome CSS 2025年回顾
前端·css·chrome·开源·opentiny
TheNextByte121 小时前
如何在没有 Wi-Fi 的情况下备份 iPhone
ios·iphone