This commit is contained in:
Ali 2023-04-06 23:46:24 +04:00
parent cddd414aa7
commit c1b576551e
2 changed files with 3 additions and 3 deletions

View File

@ -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 = [

View File

@ -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',