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
相关推荐
游戏开发爱好者810 小时前
iPhone HTTPS 抓包实战指南,移动端加密流量分析、代理解密失败排查与底层数据流捕获
android·ios·小程序·https·uni-app·iphone·webview
sweet丶16 小时前
SDWebImage深度解析:高效图片加载背后的架构设计与卓越实践
ios·图片资源
Zender Han20 小时前
Flutter Gradients 全面指南:原理、类型与实战使用
android·flutter·ios
如此风景1 天前
IOS开发SwiftUI相关学习记录
ios
2501_915909061 天前
iOS 反编译防护工具全景解析 从底层符号到资源层的多维安全体系
android·安全·ios·小程序·uni-app·iphone·webview
Keely402851 天前
WXT框架从零开始:打造你的第一个Chrome浏览器插件
前端·chrome
ALex_zry1 天前
argv (0) 在什么情况下为空?在什么情况下为程序名?
前端·chrome
Redundantº1 天前
Uniapp 适配安卓与 iOS 的 PDF、DOC 文件上传
android·ios·pdf·uni-app·webview
lancoff1 天前
#5 ScrollViewReader
ios·swiftui