mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Re-applies commit1120b9084e(reverted inef2c1d47ccduring install debugging). The install failure was proven to be the oversized watch binary (fixed by DEAD_CODE_STRIPPING), not the bundle-id mechanism — which was verified to produce a byte-identical artifact for ph.telegra.Telegraph. xcodebuild bakes PRODUCT_BUNDLE_IDENTIFIER=<host>.watchkitapp and the watch Info.plist derives WKCompanionAppBundleIdentifier via $(PRODUCT_BUNDLE_IDENTIFIER:base), so the embedded watch app is correct for any host (ph.telegra.Telegraph and org.telegram.TelegramInternal/enterprise) with no post-build plist patching. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
<key>CFBundleDisplayName</key>
|
|
<string>Telegram</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>$(EXECUTABLE_NAME)</string>
|
|
<key>CFBundleIconName</key>
|
|
<string>AppIcon</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleName</key>
|
|
<string>$(PRODUCT_NAME)</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>APPL</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>$(MARKETING_VERSION)</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>$(CURRENT_PROJECT_VERSION)</string>
|
|
<key>NSAppTransportSecurity</key>
|
|
<dict>
|
|
<key>NSAllowsArbitraryLoads</key>
|
|
<true/>
|
|
</dict>
|
|
<key>NSLocationWhenInUseUsageDescription</key>
|
|
<string>Share your current location in chats.</string>
|
|
<key>NSMicrophoneUsageDescription</key>
|
|
<string>Record voice messages to send in chats.</string>
|
|
<key>TG_API_HASH</key>
|
|
<string>$(TG_API_HASH)</string>
|
|
<key>TG_API_ID</key>
|
|
<string>$(TG_API_ID)</string>
|
|
<key>WKApplication</key>
|
|
<true/>
|
|
<key>WKCompanionAppBundleIdentifier</key>
|
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER:base)</string>
|
|
<key>WKRunsIndependentlyOfCompanionApp</key>
|
|
<true/>
|
|
</dict>
|
|
</plist>
|