Enable MinimumOSVersion replacement

This commit is contained in:
Peter 2019-10-06 01:34:44 +04:00
parent dbe5a7ec2f
commit 3ddbeea591
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,4 @@
load("//Config:utils.bzl", "config_with_updated_linker_flags", "configs_with_config")
load("//Config:app_configuration.bzl", "appConfig")
@ -403,6 +404,7 @@ def widget_extension_info_plist_substitutions():
"APP_SPECIFIC_URL_SCHEME": appConfig()["appSpecificUrlScheme"],
"BUILD_NUMBER": get_build_number(),
"PRODUCT_BUNDLE_SHORT_VERSION": get_short_version(),
"MinimumOSVersion": "9.0",
}
return substitutions
@ -416,6 +418,7 @@ def notification_content_extension_info_plist_substitutions():
"CURRENT_PROJECT_VERSION": "1",
"BUILD_NUMBER": get_build_number(),
"PRODUCT_BUNDLE_SHORT_VERSION": get_short_version(),
"MinimumOSVersion": "10.0",
}
return substitutions
@ -429,6 +432,7 @@ def notification_service_extension_info_plist_substitutions():
"CURRENT_PROJECT_VERSION": "1",
"BUILD_NUMBER": get_build_number(),
"PRODUCT_BUNDLE_SHORT_VERSION": get_short_version(),
"MinimumOSVersion": "10.0",
}
return substitutions
@ -444,6 +448,7 @@ def intents_extension_info_plist_substitutions():
"BUILD_NUMBER": get_build_number(),
"PRODUCT_BUNDLE_SHORT_VERSION": get_short_version(),
"PRODUCT_MODULE_NAME": "SiriIntents",
"MinimumOSVersion": "10.0",
}
return substitutions

View File

@ -146,7 +146,7 @@ build_debug_armv7: check_env
//:NotificationContentExtension#dwarf-and-dsym,iphoneos-armv7 \
//:NotificationServiceExtension#dwarf-and-dsym,iphoneos-armv7 \
//:IntentsExtension#dwarf-and-dsym,iphoneos-armv7 \
${BUCK_OPTIONS} ${BUCK_DEBUG_OPTIONS} ${BUCK_THREADS_OPTIONS} ${BUCK_CACHE_OPTIONS}
--verbose 7 ${BUCK_OPTIONS} ${BUCK_DEBUG_OPTIONS} ${BUCK_THREADS_OPTIONS} ${BUCK_CACHE_OPTIONS}
build: check_env
$(BUCK) build \
@ -284,7 +284,7 @@ app_arm64: build_arm64 package_arm64
app_debug_arm64: build_debug_arm64 package_debug_arm64
app_debug_armv7: build_debug_armv7 package_debug_armv7
app_debug_armv7: build_debug_armv7 package_armv7
build_buckdebug: check_env
BUCK_DEBUG_MODE=1 $(BUCK) build \