telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.89k stars 5.13k forks source link

Build failure in Xcode, Undefined symbol: rtc::RTCCertificateGenerator #26151

Closed OrlovAlexey closed 10 months ago

OrlovAlexey commented 1 year ago

Steps to reproduce

  1. Open Telegram.xcodeproj with Xcode 14.2
  2. Select target Telegram
  3. Build

Expected behaviour

Successful build of Telegram

Actual behaviour

8 errors appeared, the problem is with webrtc, linker can not find implementation of some functions. issue

Undefined symbols for architecture x86_64: "rtc::RTCCertificateGenerator::GenerateCertificate(rtc::KeyParams const&, std::1::optional const&)", referenced from: tgcalls::GroupNetworkManager::GroupNetworkManager(webrtc::FieldTrialsView const&, std::1::function<void (tgcalls::GroupNetworkManager::State const&)>, std::1::function<void (unsigned int, int)>, std::1::function<void (bool)>, std::1::function<void (std::1::basic_string<char, std::__1::char_traits, std::1::allocator > const&)>, std::1::function<void (unsigned int, unsigned char, bool)>, std::__1::shared_ptr) in liblib_tgcalls.a(GroupNetworkManager.o) And a lot of similar errors in logs

Operating system

MacOS 12.6, x86_64

Version of Telegram Desktop

Version 4.7.1

Installation source

Static binary from official website

Crash ID

No response

Logs

https://gist.github.com/OrlovAlexey/66bb908d94b25b5c4a6d5660feb4cf74
github-actions[bot] commented 11 months ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!