From 602f4fc1543797376d6bf36106eb5bb9c69af988 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 30 Aug 2021 18:34:51 +0000 Subject: [PATCH] Update content of files --- data/core.telegram.org/reproducible-builds.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/data/core.telegram.org/reproducible-builds.html b/data/core.telegram.org/reproducible-builds.html index cc4eb5657b..b6ea4f12d7 100644 --- a/data/core.telegram.org/reproducible-builds.html +++ b/data/core.telegram.org/reproducible-builds.html @@ -159,7 +159,7 @@ Otherwise, something went wrong.

To provide a stable and easily reproducible environment, Telegram iOS builds are compiled on a virtual machine. Parallels is used to verify the builds.

Step 1. Install the Parallels virtual machine

Parallels can be obtained here, it features a fully-functional trial version.

-

Step 2. Install the latest version of macOS Catalina

+

Step 2. Install the latest version of macOS Big Sur

To download an image that can be installed on the virtual machine, open the App Store, search for “Catalina” and click “View”.

@@ -198,7 +198,7 @@ When done, open Parallels and choose macOS Catalina:

Checkbox 'Customize settings before installation'

-

Change the name of the virtual machine to macos10_15_Xcode12_2

+

Change the name of the virtual machine to macos11_Xcode12_5_1

Name VM as macos10_15_Xcode12_2

@@ -284,20 +284,20 @@ When done, open Parallels and choose macOS Catalina:
-

Step 4. Install Xcode version 12.2

+

Step 4. Install Xcode version 12.5.1

In the virtual machine, open Safari and go to https://developer.apple.com
Sign in to your Account:

developer.apple.com > Account > sign in with your Apple ID

-

Go to Downloads > More
Enter Xcode in the search field and find the version 12.2

+

Go to Downloads > More
Enter Xcode in the search field and find the version 12.5.1

- -

Downloads > More > Xcode 12.2

+ +

Downloads > More > Xcode 12.5.1

-

Once the installation is complete, open the file Xcode 12.2.xip. The system will unarchive the app into the same folder. Move it to the Applications folder using Finder.

+

Once the installation is complete, open the file Xcode 12.5.1.xip. The system will unarchive the app into the same folder. Move it to the Applications folder using Finder.

Unarchive Xcode > drag the app to Applications folder

@@ -318,6 +318,9 @@ When done, open Parallels and choose macOS Catalina:

Shut down the virtual machine

+

Step 4.1

+

Download the certificates at https://github.com/TelegramMessenger/Telegram-iOS/tree/master/build-system/fake-codesigning/certs/distribution and install them into the virtual machine.

+

Launch Keychain Access and double-click the installed certificate. Under “Trust”, change “When using this certificate” to “Always Trust”.

Step 5. Obtaining the source code

git clone --recursive https://github.com/TelegramMessenger/telegram-ios.git $HOME/telegram-ios
cd $HOME/telegram-ios
git checkout release-${VERSION_NUMBER}

E.g., git checkout release-7.3. Please note that you need to check out the whole git history as the build version depends on the number of commits in the repository.