From 6ab1512f0bf22a88f7725caf42b8a36b58b1db36 Mon Sep 17 00:00:00 2001
From: ONNX Runtime <onnxruntime@microsoft.com>
Date: Thu, 15 Aug 2024 06:00:11 +0200
Subject: [PATCH] [Add] onnxruntime-objc 1.19.0

---
 .../1.19.0/onnxruntime-objc.podspec.json      | 103 ++++++++++++++++++
 1 file changed, 103 insertions(+)
 create mode 100644 Specs/8/2/b/onnxruntime-objc/1.19.0/onnxruntime-objc.podspec.json

diff --git a/Specs/8/2/b/onnxruntime-objc/1.19.0/onnxruntime-objc.podspec.json b/Specs/8/2/b/onnxruntime-objc/1.19.0/onnxruntime-objc.podspec.json
new file mode 100644
index 00000000000000..f60c5f0de9b972
--- /dev/null
+++ b/Specs/8/2/b/onnxruntime-objc/1.19.0/onnxruntime-objc.podspec.json
@@ -0,0 +1,103 @@
+{
+  "name": "onnxruntime-objc",
+  "version": "1.19.0",
+  "summary": "ONNX Runtime Objective-C Pod",
+  "description": "A pod for the ONNX Runtime Objective-C API.",
+  "homepage": "https://github.com/microsoft/onnxruntime",
+  "license": {
+    "type": "MIT",
+    "file": "LICENSE"
+  },
+  "authors": {
+    "ONNX Runtime": "onnxruntime@microsoft.com"
+  },
+  "source": {
+    "http": "https://download.onnxruntime.ai/pod-archive-onnxruntime-objc-1.19.0.zip"
+  },
+  "platforms": {
+    "ios": "13.0",
+    "osx": "11.0"
+  },
+  "preserve_paths": [
+    "LICENSE"
+  ],
+  "default_subspecs": "Core",
+  "static_framework": true,
+  "subspecs": [
+    {
+      "name": "Core",
+      "dependencies": {
+        "onnxruntime-c": [
+          "1.19.0"
+        ]
+      },
+      "requires_arc": true,
+      "compiler_flags": [
+        "-std=c++17",
+        "-fobjc-arc-exceptions",
+        "-Wall",
+        "-Wextra",
+        "-Werror"
+      ],
+      "pod_target_xcconfig": {
+        "HEADER_SEARCH_PATHS": "\"${PODS_TARGET_SRCROOT}/objectivec\"",
+        "OTHER_CPLUSPLUSFLAGS": "-fvisibility=hidden -fvisibility-inlines-hidden"
+      },
+      "public_header_files": [
+        "objectivec/include/ort_coreml_execution_provider.h",
+        "objectivec/include/ort_value.h",
+        "objectivec/include/ort_session.h",
+        "objectivec/include/ort_enums.h",
+        "objectivec/include/ort_custom_op_registration.h",
+        "objectivec/include/ort_env.h",
+        "objectivec/include/onnxruntime.h",
+        "objectivec/include/ort_xnnpack_execution_provider.h"
+      ],
+      "source_files": [
+        "objectivec/ort_session_internal.h",
+        "objectivec/cxx_utils.h",
+        "objectivec/ort_enums.mm",
+        "objectivec/include/ort_session.h",
+        "objectivec/ort_value_internal.h",
+        "objectivec/include/ort_value.h",
+        "objectivec/include/ort_coreml_execution_provider.h",
+        "objectivec/cxx_utils.mm",
+        "objectivec/error_utils.h",
+        "objectivec/include/onnxruntime.h",
+        "objectivec/include/ort_xnnpack_execution_provider.h",
+        "objectivec/ort_env.mm",
+        "objectivec/cxx_api.h",
+        "objectivec/ort_value.mm",
+        "objectivec/include/ort_enums.h",
+        "objectivec/include/ort_custom_op_registration.h",
+        "objectivec/include/ort_env.h",
+        "objectivec/error_utils.mm",
+        "objectivec/assert_arc_enabled.mm",
+        "objectivec/ort_env_internal.h",
+        "objectivec/ort_xnnpack_execution_provider.mm",
+        "objectivec/ort_coreml_execution_provider.mm",
+        "objectivec/ort_session.mm",
+        "objectivec/ort_enums_internal.h"
+      ],
+      "testspecs": [
+        {
+          "name": "Tests",
+          "test_type": "unit",
+          "source_files": [
+            "objectivec/test/assert_arc_enabled.mm",
+            "objectivec/test/ort_env_test.mm",
+            "objectivec/test/test_utils.mm",
+            "objectivec/test/ort_value_test.mm",
+            "objectivec/test/test_utils.h",
+            "objectivec/test/ort_session_test.mm",
+            "objectivec/test/assertion_utils.h"
+          ],
+          "resources": [
+            "objectivec/test/testdata/identity_string.ort",
+            "objectivec/test/testdata/single_add.basic.ort"
+          ]
+        }
+      ]
+    }
+  ]
+}