Update README.md

This commit is contained in:
peter-iakovlev 2019-06-14 15:25:20 +01:00 committed by GitHub
parent a1f459ab48
commit 8b51706b53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,11 +5,14 @@
brew install pkg-config yasm
3. Clone the project from GitHub:
```
git clone --recursive https://github.com/peter-iakovlev/Telegram-iOS.git
```
4. Open Telegram-iOS.workspace.
5. Open the Telegram-iOS-Fork scheme.
6. Replace the contents of Config-Fork.xcconfig with
```
APP_NAME=Telegram Fork
APP_BUNDLE_ID=fork.telegram.Fork
APP_SPECIFIC_URL_SCHEME=tgfork
@ -18,6 +21,7 @@ GLOBAL_CONSTANTS = APP_CONFIG_IS_INTERNAL_BUILD=false APP_CONFIG_IS_APPSTORE_BUI
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) $(GLOBAL_CONSTANTS)
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) APP_CONFIG_API_ID=8 APP_CONFIG_API_HASH="\"7245de8e747a0d6fbe11f7cc14fcc0bb\"" APP_CONFIG_HOCKEYAPP_ID="\"\""
7. Replace group ID in Telegram-iOS-Fork.entitlements with group.fork.telegram.Fork.
```
7. Replace group ID in Telegram-iOS-Fork.entitlements with `group.fork.telegram.Fork`.
8. Start the compilation process.
9. To run the app on your device, you will need to set the correct values for the signature, .entitlements files and package IDs in accordance with your developer account values.