Bump ios deployment target to 11.0 in TensorFlowLiteObjc/Swift podspecs since we no longer support 32 bit. Also add pod attributes to specifically exclude arm64 simulator build in TensorFlowLiteSwift. Will remove these attributes when we are able to include this arch.

PiperOrigin-RevId: 443777043
diff --git a/tensorflow/lite/objc/TensorFlowLiteObjC.podspec.template b/tensorflow/lite/objc/TensorFlowLiteObjC.podspec.template
index 14acf46..095bf9d 100644
--- a/tensorflow/lite/objc/TensorFlowLiteObjC.podspec.template
+++ b/tensorflow/lite/objc/TensorFlowLiteObjC.podspec.template
@@ -14,7 +14,7 @@
   acceleration.
                        DESC
 
-  s.ios.deployment_target = '9.0'
+  s.ios.deployment_target = '11.0'
 
   s.module_name = 'TFLTensorFlowLite'
   s.static_framework = true
@@ -26,7 +26,6 @@
     'HEADER_SEARCH_PATHS' =>
       '"${PODS_TARGET_SRCROOT}" ' +
       '"${PODS_TARGET_SRCROOT}/' + objc_dir  + 'apis"',
-    'VALID_ARCHS' => 'x86_64 arm64',
     # TODO: Remove this after adding support for arm64 simulator.
     'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
   }
diff --git a/tensorflow/lite/swift/TensorFlowLiteSwift.podspec.template b/tensorflow/lite/swift/TensorFlowLiteSwift.podspec.template
index 2f3e7d3..f3e3c3c 100644
--- a/tensorflow/lite/swift/TensorFlowLiteSwift.podspec.template
+++ b/tensorflow/lite/swift/TensorFlowLiteSwift.podspec.template
@@ -13,7 +13,7 @@
   small binary size and fast performance supporting hardware acceleration.
                        DESC
 
-  s.ios.deployment_target = '9.0'
+  s.ios.deployment_target = '11.0'
 
   s.module_name = 'TensorFlowLite'
   s.static_framework = true
@@ -21,8 +21,14 @@
   tfl_dir = 'tensorflow/lite/'
   swift_dir = tfl_dir + 'swift/'
 
+  # TODO: Remove this after adding support for arm64 simulator.
   s.pod_target_xcconfig = {
-    'VALID_ARCHS' => 'x86_64 arm64',
+    'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
+  }
+
+  # TODO: Remove this after adding support for arm64 simulator.
+  s.user_target_xcconfig = {
+    'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
   }
 
   s.default_subspec = 'Core'