TelegramSwift
TelegramSwift copied to clipboard
Trouble building
Hello,
my name is Andrew Foss. I am prototyping integrating VPN into Telegram and having trouble getting the project to build.
- submodule URLs permissions errors - Sparkle, tgcalls - resolved cloning with https
- openssl, I resolved manually using openssl-1.1.1q
- YuvConversion and ManageFile packages are not found
- webrtc source is not found or building.
Is there a more complete set of instructions available, or a tag that is known to work following the INSTALL.md?
has the same concern
did you try cloning with recursive? you could try passing the git clone --recursive -j8
FOR ios git clone --recursive -j8 https://github.com/TelegramMessenger/Telegram-iOS.git
This project doesn't get updates anyway, so don't know what's the reason behind cloning an outdated project that clearly isn't open source anymore
Wait till this repo closes as the one before (in Objective-C)
bummer, when did telegram close source?
who do we want to talk with about supporting our users with integrated vpn?
Sent from my iPhone
On 21 Sep 2022, at 12:29, Ruben Robles @.***> wrote:
This project doesn't get updates anyway, so don't know what's the reason behind cloning an outdated project that clearly isn't open source anymore
Wait till this repo closes as the one before (in Objective-C)
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
I think it is since Telegram Swift got officially adopted by the Telegram company
hello, I just fixed it! it builds successfully now.
here is what I did:
cd submodules/
git clone https://github.com/TelegramMessenger/tgcalls
cd ../
rm -rf core-xprojects/webrtc/build
cd submodules/tg_owt
git submodule update --init --recursive
cd ../../
sh scripts/configure_frameworks.sh
for any missing packages, cd into the submodule's directory and do:
git submodule update --force --recursive --init --remote
Had similar problem both with 'tgcalls' and 'Sparkle'
Followed recommendations above:
cd submodules/
git clone https://github.com/TelegramMessenger/tgcalls
git clone https://github.com/overtake/Sparkle
cd ..
git submodule update --force --recursive --init --remote
@gatesyp @IvanPetrovMck @zweeltow
Thanks for your recommendations, i build successfully
but when i build in Xcode always error in
#include "rtc_base/location.h"
told me 'rtc_base/location.h' file not found
will you please help me?
i'm using Xcode 14.3.1, Intel Mac Ventura 13.2
I found that the tgcalls
within the submodules on the master branch.
However, after switching to the origin/tdesktop
branch, the error disappeared, but a lot of other errors followed.
I want to get it up and running, there are too many troubles.
Perhaps I can make it run, or maybe I can't. 😂