Attempting to install chromium on iphone simulator from scratch, running into many errors

Viewed 23

I'm attempting to install Chromium on the my iPhone simulator, and I'm running into many issues during the install process. After looking into it, apparently the instructions here are known to be incorrect https://chromium.googlesource.com/chromium/src/+/master/docs/ios/build_instructions.md

My first issue was when running $ autoninja -C out/Debug-iphonesimulator gn_all, at which time I got the error

ninja: fatal: chdir to 'out/Debug-iphonesimulator' - No such file or directory

so I needed to create the empty directory myself. Then after running again, I got the error

ninja: Entering directory `out/Debug-iphonesimulator' ninja: error: loading 'build.ninja': No such file or directory

so I needed to create the build.ninja file myself. I did this by running $ gn gen out/Default, then moved the generated build.ninja directly into the out/Debug-iphonesimulator directory.

After a couple more similar errors, I just moved every single file generated with $gn gen out/Default into the same directory.

Now, I'm getting this error

ninja: Entering directory `out/Debug-iphonesimulator' ninja: error: '../../chrome/installer/mac/third_party/xz/xz/src/common/tuklib_physmem.c', needed by 'obj/chrome/installer/mac/third_party/xz/common/tuklib_physmem.o', missing and no known rule to make it

I attempted to run $gclient sync, but it doesn't seem to have helped. Is there a more updated set of instructions for installing Chromium? If not, is there anything I've done incorrectly or any steps I am missing?

EDIT: I have since attempted these instructions instead https://chromium.googlesource.com/chromium/src/+/main/docs/mac_build_instructions.md , but I am getting this as an error

WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "https://chromium.googlesource.com/chromium/src.git" "/path/depot_tools/chromium/_gclient_src_glg0h337"' in /path/depot_tools/chromium failed; will retry after a short nap...
Subprocess failed with return code 1.
0 Answers
Related