TelegramSwift
TelegramSwift copied to clipboard
tgcalls repository has moved, but submodule points to old one
% git clone https://github.com/overtake/TelegramSwift.git --recurse-submodules
Cloning into 'TelegramSwift'...
<...>
Cloning into 'TelegramSwift/submodules/tgcalls'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:john-preston/tgcalls.git' into submodule path 'TelegramSwift/submodules/tgcalls' failed
Failed to clone 'submodules/tgcalls'. Retry scheduled
Cloning into 'TelegramSwift/submodules/tgcalls'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:john-preston/tgcalls.git' into submodule path 'TelegramSwift/submodules/tgcalls' failed
Failed to clone 'submodules/tgcalls' a second time, aborting
%
Seems moved to TelegramMessenger/tgcalls, for those wondering.
hello, I just fixed it! it builds successfully now.
here is what I did:
cd submodules/
git clone https://github.com/desktop-app/tg_owt.git
git clone https://github.com/TelegramMessenger/tgcalls.git
git clone https://gitlab.com/overtake/Sparkle.git
git clone https://github.com/telegramdesktop/libtgvoip.git
git clone https://github.com/overtake/rlottie.git
git clone https://github.com/overtake/Telegram-iOS.git
git clone https://github.com/desktop-app/tg_owt.git
cd ../
rm -rf core-xprojects/webrtc/build
cd submodules/tg_owt
git submodule update --init --recursive
cd ../../
sh scripts/configure_frameworks.sh
@gatesyp : Followed your steps. Still getting build error.:

cd .git edit config file below: config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://github.com/overtake/TelegramSwift.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[submodule "submodules/Sparkle"]
active = true
url = [email protected]:overtake/Sparkle.git
[submodule "submodules/libtgvoip"]
active = true
url = [email protected]:telegramdesktop/libtgvoip
[submodule "submodules/rlottie"]
active = true
url = [email protected]:overtake/rlottie.git
[submodule "submodules/telegram-ios"]
active = true
url = [email protected]:overtake/Telegram-iOS.git
[submodule "submodules/tg_owt"]
active = true
url = [email protected]:desktop-app/tg_owt.git
[submodule "submodules/tgcalls"]
active = true
url = [email protected]:TelegramMessenger/tgcalls.git
then:
git submodule init
git submodule update --init --recursive