mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-06-20 18:24:43 +00:00
83297bec0e
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>