diff --git a/README.md b/README.md index 82fe31fe1f..eceb040fe9 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,13 @@ git clone --recursive -j8 https://github.com/TelegramMessenger/Telegram-iOS.git ``` mkdir -p $HOME/telegram-configuration -cp -R build-system/example-configuration/* $HOME/telegram-configuration/ +mkdir -p $HOME/telegram-provisioning +cp build-system/appstore-configuration.json $HOME/telegram-configuration/configuration.json +cp -R build-system/fake-codesigning $HOME/telegram-provisioning/ ``` -- Modify the values in `variables.bzl` -- Replace the provisioning profiles in `provisioning` with valid files +- Modify the values in `configuration.json` +- Replace the provisioning profiles in `profiles` with valid files 4. (Optional) Create a build cache directory to speed up rebuilds @@ -42,7 +44,8 @@ mkdir -p "$HOME/telegram-bazel-cache" python3 build-system/Make/Make.py \ --cacheDir="$HOME/telegram-bazel-cache" \ build \ - --configurationPath="$HOME/telegram-configuration" \ + --configurationPath=path-to-configuration.json \ + --codesigningInformationPath=path-to-provisioning-data \ --buildNumber=100001 \ --configuration=release_universal ``` @@ -53,7 +56,8 @@ python3 build-system/Make/Make.py \ python3 build-system/Make/Make.py \ --cacheDir="$HOME/telegram-bazel-cache" \ generateProject \ - --configurationPath="$HOME/telegram-configuration" \ + --configurationPath=path-to-configuration.json \ + --codesigningInformationPath=path-to-provisioning-data \ --disableExtensions ``` @@ -62,7 +66,8 @@ It is possible to generate a project that does not require any codesigning certi python3 build-system/Make/Make.py \ --cacheDir="$HOME/telegram-bazel-cache" \ generateProject \ - --configurationPath="$HOME/telegram-configuration" \ + --configurationPath=path-to-configuration.json \ + --codesigningInformationPath=path-to-provisioning-data \ --disableExtensions \ --disableProvisioningProfiles ```