TelegramMessenger / Telegram-iOS

Telegram-iOS
6.33k stars 1.66k forks source link

How to add external dependency to the existing Telegram IOS app? #1603

Open nishantminerva opened 4 hours ago

nishantminerva commented 4 hours ago

Hello Everyone, I am working on a project where I need to integrate Web3Auth(https://github.com/Web3Auth/web3auth-swift-sdk.git) to existing Telegram App (https://github.com/TelegramMessenger/Telegram-iOS) , I am very new to Bazel and now I am really very confused, how I can add an external library to a bazel based IOS Application. I tried reading and watching these blogs and videos 1.https://www.buildbuddy.io/blog/how-to-migrate-an-ios-app-to-bazel/ by @Brentley

2.https://www.youtube.com/watch?v=wewAVF-DVhs 3.https://tulipemoutarde.be/posts/bazel-for-mobile-apps-part-2/ And I am getting confused and confused since it's very new thing for me. Can anyone please help me by showing mw how to do this.

buildbuddy.io How to migrate an iOS app to Bazel | BuildBuddy BuildBuddy provides enterprise features for Bazel — the open source build system that allows you to build and test software 10x faster. (124 kB) https://www.buildbuddy.io/blog/how-to-migrate-an-ios-app-to-bazel/

YouTubeYouTube | Google Open Source Hacks and Tips for Incremental Adoption of Bazel for iOS w/ Pinterest

TelegramMessenger/Telegram-iOS

Therefore I request to show me step by step on how to add this.

nishantminerva commented 4 hours ago

I am not understanding, the submodule directory etc, where do I need to add the Package.swift, Use Bazmod or what, I am getting confused and confused.