mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-05 19:28:46 +02:00
Strip watch app
This commit is contained in:
parent
c3ab3ff218
commit
0be476ff79
2 changed files with 14 additions and 0 deletions
|
|
@ -79,6 +79,17 @@ targets:
|
|||
CODE_SIGNING_ALLOWED: "NO"
|
||||
CODE_SIGNING_REQUIRED: "NO"
|
||||
CODE_SIGN_IDENTITY: ""
|
||||
configs:
|
||||
Release:
|
||||
# Bazel consumes a plain `xcodebuild build`, so DEPLOYMENT_POSTPROCESSING
|
||||
# stays NO and the default strip phase never runs — the executable ships
|
||||
# with its full ~1M-symbol table, doubling each thinned slice to ~100MB
|
||||
# and tripping App Store's 75MB watchOS limit (error 90389). Force the
|
||||
# strip during build. Scoped to this target only: a project-wide setting
|
||||
# also tries to strip the SPM static libs, which errors on COgg.o.
|
||||
DEPLOYMENT_POSTPROCESSING: "YES"
|
||||
STRIP_INSTALLED_PRODUCT: "YES"
|
||||
STRIP_STYLE: "all"
|
||||
dependencies:
|
||||
- package: TDLibKit
|
||||
- package: QRCodeGenerator
|
||||
|
|
|
|||
|
|
@ -641,6 +641,7 @@
|
|||
CODE_SIGNING_ALLOWED = NO;
|
||||
CODE_SIGNING_REQUIRED = NO;
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
DEPLOYMENT_POSTPROCESSING = YES;
|
||||
DEVELOPMENT_TEAM = C67CF9S4VU;
|
||||
GENERATE_INFOPLIST_FILE = NO;
|
||||
INFOPLIST_FILE = "tgwatch Watch App/Info.plist";
|
||||
|
|
@ -648,6 +649,8 @@
|
|||
PRODUCT_BUNDLE_IDENTIFIER = ph.telegra.Telegraph.watchkitapp;
|
||||
SDKROOT = watchos;
|
||||
SKIP_INSTALL = YES;
|
||||
STRIP_INSTALLED_PRODUCT = YES;
|
||||
STRIP_STYLE = all;
|
||||
TARGETED_DEVICE_FAMILY = 4;
|
||||
WATCHOS_DEPLOYMENT_TARGET = 26.0;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue