diff --git a/docs/getting_started/hello_world_ios.md b/docs/getting_started/hello_world_ios.md index 4be097646..118b9a05b 100644 --- a/docs/getting_started/hello_world_ios.md +++ b/docs/getting_started/hello_world_ios.md @@ -138,7 +138,7 @@ Create a `BUILD` file in the `$APPLICATION_PATH` and add the following build rules: ``` -MIN_IOS_VERSION = "11.0" +MIN_IOS_VERSION = "12.0" load( "@build_bazel_rules_apple//apple:ios.bzl", diff --git a/mediapipe/tasks/ios/MediaPipeTasksCommon.podspec.template b/mediapipe/tasks/ios/MediaPipeTasksCommon.podspec.template index 1e6224699..cf01e99c8 100644 --- a/mediapipe/tasks/ios/MediaPipeTasksCommon.podspec.template +++ b/mediapipe/tasks/ios/MediaPipeTasksCommon.podspec.template @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.summary = 'MediaPipe Task Library - Text' s.description = 'The common libraries of the MediaPipe Task Library' - s.ios.deployment_target = '11.0' + s.ios.deployment_target = '12.0' s.module_name = 'MediaPipeTasksCommon' s.static_framework = true diff --git a/mediapipe/tasks/ios/MediaPipeTasksText.podspec.template b/mediapipe/tasks/ios/MediaPipeTasksText.podspec.template index f2f04bf79..261baf7b4 100644 --- a/mediapipe/tasks/ios/MediaPipeTasksText.podspec.template +++ b/mediapipe/tasks/ios/MediaPipeTasksText.podspec.template @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.summary = 'MediaPipe Task Library - Text' s.description = 'The Natural Language APIs of the MediaPipe Task Library' - s.ios.deployment_target = '11.0' + s.ios.deployment_target = '12.0' s.module_name = 'MediaPipeTasksText' s.static_framework = true diff --git a/mediapipe/tasks/ios/MediaPipeTasksVision.podspec.template b/mediapipe/tasks/ios/MediaPipeTasksVision.podspec.template index af63ba94d..62698dfd5 100644 --- a/mediapipe/tasks/ios/MediaPipeTasksVision.podspec.template +++ b/mediapipe/tasks/ios/MediaPipeTasksVision.podspec.template @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.summary = 'MediaPipe Task Library - Vision' s.description = 'The Vision APIs of the MediaPipe Task Library' - s.ios.deployment_target = '11.0' + s.ios.deployment_target = '12.0' s.module_name = 'MediaPipeTasksVision' s.static_framework = true diff --git a/mediapipe/tasks/ios/build_ios_framework.sh b/mediapipe/tasks/ios/build_ios_framework.sh index 1142f08af..fd016010c 100755 --- a/mediapipe/tasks/ios/build_ios_framework.sh +++ b/mediapipe/tasks/ios/build_ios_framework.sh @@ -112,7 +112,7 @@ function build_ios_frameworks_and_libraries { IOS_GRAPHS_SIMULATOR_LIBRARY_PATH="$(get_output_file_path "${IOS_SIM_FAT_LIBRARY_CQUERY_COMMAND}")" # Build static library for iOS devices with arch ios_arm64. We don't need to build for armv7 since - # our deployment target is iOS 11.0. iOS 11.0 and upwards is not supported by old armv7 devices. + # our deployment target is iOS 12.0. iOS 12.0 and upwards is not supported by old armv7 devices. local IOS_DEVICE_LIBRARY_CQUERY_COMMAND="-c opt --config=ios_arm64 --apple_generate_dsym=false --define OPENCV=source //mediapipe/tasks/ios:MediaPipeTaskGraphs_library" ${BAZEL} build ${IOS_DEVICE_LIBRARY_CQUERY_COMMAND} IOS_GRAPHS_DEVICE_LIBRARY_PATH="$(get_output_file_path "${IOS_DEVICE_LIBRARY_CQUERY_COMMAND}")"