要在iOS设备上运行Chrome,请按照 https://chromium.googlesource.com/chromium/src/+/master/docs/ios/build_instructions.md 中编写的步骤进行操作:
首先,我通过在终端中运行'xcrun security find-identity -v -p codesigning'获得代码签名身份:
因此,我选择第四个代码签名标识“ 12334F52C5524ECCCB9DB55FBA1521A014BE4B5D”,并替换ios_code_signing_identity
gn变量。然后将ios_app_bundle_id_prefix
gn变量替换为“ com.xfplay.xfweb”。 ios_sdk.gni
文件如下所示:
第二,我从apple请求四个配置文件,并将它们安装在xcode上:
最后,我运行目标“ chrome”。它失败了。
我正在使用macOS Catalina,Xcode 11.2.1,具有iOS 13.2,铬80.3973.0的iPhone X。