diff --git a/Telegram/BUILD b/Telegram/BUILD index 2f4ab1de72..f52f037129 100644 --- a/Telegram/BUILD +++ b/Telegram/BUILD @@ -123,7 +123,7 @@ genrule( ) minimum_os_version = "11.0" -minimum_watchos_version="9.0" +minimum_watchos_version="5.0" empty_languages = [ "ar", @@ -740,7 +740,7 @@ genrule( name = "StripWatchosStubBinary", cmd_bash = """ - echo 'lipo -remove arm64e -remove armv7k $$1/TelegramWatch.app/_WatchKitStub/WK -output $$1/TelegramWatch.app/_WatchKitStub/WK && lipo -remove arm64e -remove armv7k $$1/TelegramWatch.app/TelegramWatch -output $$1/TelegramWatch.app/TelegramWatch' > $(location StripWatchosStubBinary.sh) + echo 'lipo -remove arm64e $$1/TelegramWatch.app/_WatchKitStub/WK -output $$1/TelegramWatch.app/_WatchKitStub/WK && lipo -remove arm64e $$1/TelegramWatch.app/TelegramWatch -output $$1/TelegramWatch.app/TelegramWatch' > $(location StripWatchosStubBinary.sh) echo '' >> $(location StripWatchosStubBinary.sh) """, outs = [ diff --git a/build-system/Make/Make.py b/build-system/Make/Make.py index f328b87e73..f92d89e684 100644 --- a/build-system/Make/Make.py +++ b/build-system/Make/Make.py @@ -191,7 +191,7 @@ class BazelCommandLine: '--ios_multi_cpus=arm64', # Always build universal Watch binaries. - '--watchos_cpus=arm64_32,arm64', + '--watchos_cpus=arm64_32,arm64,armv7k', # Generate DSYM files when building. '--apple_generate_dsym',