diff --git a/README.md b/README.md index 1b8d55c988..3a9768dd90 100644 --- a/README.md +++ b/README.md @@ -8,20 +8,7 @@ brew install pkg-config yasm ``` 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 - -GLOBAL_CONSTANTS = APP_CONFIG_IS_INTERNAL_BUILD=false APP_CONFIG_IS_APPSTORE_BUILD=true APP_CONFIG_APPSTORE_ID=0 APP_SPECIFIC_URL_SCHEME="\"$(APP_SPECIFIC_URL_SCHEME)\"" -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`. -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. +6. Start the compilation process. +7. 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. diff --git a/Telegram-iOS/Config-Fork.xcconfig b/Telegram-iOS/Config-Fork.xcconfig index 5139070d6f..c3192251c1 100644 --- a/Telegram-iOS/Config-Fork.xcconfig +++ b/Telegram-iOS/Config-Fork.xcconfig @@ -5,4 +5,4 @@ APP_SPECIFIC_URL_SCHEME=tgfork GLOBAL_CONSTANTS = APP_CONFIG_IS_INTERNAL_BUILD=false APP_CONFIG_IS_APPSTORE_BUILD=true APP_CONFIG_APPSTORE_ID=0 APP_SPECIFIC_URL_SCHEME="\"$(APP_SPECIFIC_URL_SCHEME)\"" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) $(GLOBAL_CONSTANTS) -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) APP_CONFIG_API_ID=8 APP_CONFIG_API_HASH="\"7245de8e747a0d6fbe11f7cc14fcc0bb\"" APP_CONFIG_HOCKEYAPP_ID="\"\"" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) APP_CONFIG_API_ID=8 APP_CONFIG_API_HASH="\"7245de8e747a0d6fbe11f7cc14fcc0bb\"" APP_CONFIG_HOCKEYAPP_ID="\"\"" \ No newline at end of file diff --git a/Telegram-iOS/Telegram-iOS-Fork.entitlements b/Telegram-iOS/Telegram-iOS-Fork.entitlements index 3b7b8a376e..b7e410258c 100644 --- a/Telegram-iOS/Telegram-iOS-Fork.entitlements +++ b/Telegram-iOS/Telegram-iOS-Fork.entitlements @@ -13,7 +13,7 @@ com.apple.security.application-groups - group.fork.telegram.Telegram-iOS + group.fork.telegram.Fork