Open hlyzfxt opened 4 years ago
I really appreciate your help, Thanks!
It might be because of not getting the depot tools right or setting up the Path variable. Please refer to the following links from official webrtc development guide for MAC :(Xcode 9 or higher has to be present for MAC) Official link on prereq software and getting depot tools for webrtc-ios :1) https://webrtc.googlesource.com/src/+/refs/heads/master/docs/native-code/development/prerequisite-sw/index.md Steps link : 2) https://webrtc.googlesource.com/src/+/refs/heads/master/docs/native-code/ios/index.md
The ipop-project's documented procedure has been tested only on Windows and Ubuntu.
and then error as below:
src/buildtools (ERROR)
[0:01:33] Started. [0:01:33]
____ running 'git init --bare /Users/ting/webrtc4/src/_gclient_gittmpbuildtoolsoOfc0' in '/Users/ting/webrtc4' [0:01:33] Initialized empty Git repository in /Users/ting/webrtc4/src/_gclient_gittmpbuildtoolsoOfc0/
____ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/buildtools --template=/Users/ting/webrtc4/src/_gclient_gittmpbuildtoolsoOfc0 /Users/ting/webrtc4/src/_gclient_buildtools_UUpRp3' in '/Users/ting/webrtc4' [0:01:33] Cloning into '/Users/ting/webrtc4/src/_gclient_buildtoolsUUpRp3'... [0:01:35] remote: Enumerating objects: 195, done.
[0:01:35] Receiving objects: 0% (1/195) [0:01:35] Receiving objects: 10% (20/195) [0:01:36] remote: Total 195 (delta 0), reused 0 (delta 0)
[0:01:36] Receiving objects: 100% (195/195), 36.00 KiB | 62.00 KiB/s [0:01:36] Resolving deltas: 0% (0/90) [0:01:36] Resolving deltas: 14% (13/90) [0:01:36] Resolving deltas: 100% (90/90) [0:01:37] ____ Conflicting directory found in /Users/ting/webrtc4/src/buildtools. Moving to /Users/ting/webrtc4/_bad_scm/src/buildtoolsC3O_Bh. [0:01:37]
____ running 'git init --bare /Users/ting/webrtc4/src/_gclient_gittmp_buildtoolsbKc5zZ' in '/Users/ting/webrtc4' [0:01:37] Initialized empty Git repository in /Users/ting/webrtc4/src/_gclient_gittmp_buildtoolsbKc5zZ/
____ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/buildtools --template=/Users/ting/webrtc4/src/_gclient_gittmp_buildtoolsbKc5zZ /Users/ting/webrtc4/src/_gclient_buildtools_px7Pse' in '/Users/ting/webrtc4' [0:01:37] Cloning into '/Users/ting/webrtc4/src/_gclient_buildtools_px7Pse'... [0:01:38] remote: Enumerating objects: 195, done.
[0:01:38] Receiving objects: 0% (1/195) [0:01:38] Receiving objects: 10% (20/195) [0:01:39] remote: Total 195 (delta 0), reused 0 (delta 0)
[0:01:39] Receiving objects: 100% (195/195), 36.00 KiB | 60.00 KiB/s [0:01:39] Resolving deltas: 0% (0/90) [0:01:39] Resolving deltas: 11% (10/90) [0:01:39] Resolving deltas: 100% (90/90)
Error: Command 'git checkout --quiet 1ecfe3ce669a34f8c76ffe5895d95b3ea3b549fd' returned non-zero exit status 128 in /Users/ting/webrtc4/src/buildtools fatal: reference is not a tree: 1ecfe3ce669a34f8c76ffe5895d95b3ea3b549fd
Warnings: Conflicting directory /Users/ting/webrtc4/src/buildtools moved to /Users/ting/webrtc4/_bad_scm/src/buildtoolsC3O_Bh. Conflicting directory /Users/ting/webrtc4/src/testing moved to /Users/ting/webrtc4/_bad_scm/src/testingTdSFf6. Conflicting directory /Users/ting/webrtc4/src/build moved to /Users/ting/webrtc4/_bad_scm/src/buildsiG0kT. Conflicting directory /Users/ting/webrtc4/src/tools moved to /Users/ting/webrtc4/_bad_scm/src/toolsj5TNkq. Conflicting directory /Users/ting/webrtc4/src/third_party moved to /Users/ting/webrtc4/_bad_scm/src/third_partyYGUGBE. Subprocess failed with return code 1.
Syncing projects: 19% ( 8/42) src/tools
src/build (ERROR)
[0:00:03] Started. [0:00:05] _____ src/build : Attempting rebase onto 6985835c9b5e7857197dc7b9b8cc7eb8e44bacf7... [0:00:05] [0:00:05] Rebase produced error output: fatal: Does not point to a valid commit '6985835c9b5e7857197dc7b9b8cc7eb8e44bacf7'
Error: 3> Unrecognized error, please merge or rebase manually. 3> cd /Users/ting/webrtc4/src/build && git rebase --onto 6985835c9b5e7857197dc7b9b8cc7eb8e44bacf7 refs/remotes/origin/master ting@tings-iMac webrtc4 % cd src ting@tings-iMac src % ../depot_tools/gclient sync zsh: no such file or directory: ../depot_tools/gclient ting@tings-iMac src % ../depot_tools/gclient sync --with_branch_heads zsh: no such file or directory: ../depot_tools/gclient ting@tings-iMac src % cd .. ting@tings-iMac webrtc4 % ../depot_tools/gclient sync --with_branch_heads Syncing projects: 19% ( 8/42) src/third_party
src/testing (ERROR)
[0:00:03] Started. [0:00:05] _____ src/testing : Attempting rebase onto dc9b1969e7b2fad0997eac147810af73fc4a13a6... [0:00:05] [0:00:05] Rebase produced error output: fatal: Does not point to a valid commit 'dc9b1969e7b2fad0997eac147810af73fc4a13a6'
Error: 6> Unrecognized error, please merge or rebase manually. 6> cd /Users/ting/webrtc4/src/testing && git rebase --onto dc9b1969e7b2fad0997eac147810af73fc4a13a6 refs/remotes/origin/master
Please help me how to resolve it ?