onnxruntime/js/react_native/ios
Changming Sun 3dd6fcc089
Upgrade min ios version to 13.0 (#20773)
To align with Office and other MS products.
Office's support policy is:
"Office for iPad and iPhone is supported on the two most recent versions
of iOS and iPadOS. When a new version of iOS or iPadOS is released, the
Office Operating System requirement becomes the two most recent
versions: the new version of iOS or iPadOS and the previous version."
(from https://products.office.com/office-system-requirements)

The latest iOS version is 17. So they support both 17 and 16. Here I set
our min iOS version to 13 so that it will be a superset of what Office
supports.

This change would allow us using C++17's std::filesystem feature in the
core framework. The modifications were generated by running
```bash
 find . -type f -exec sed -i "s/apple_deploy_target[ =]12.0/apple_deploy_target=13.0/g"  {} \;
```

Cannot use 15.0 because otherwise iOS packaging would fail with:

```
/Users/runner/work/1/b/apple_framework/intermediates/iphoneos_arm64/Release/_deps/coremltools-src/mlmodel/src/MILBlob/Util/Span.hpp:288:9: error: cannot use 'throw' with exceptions disabled
        MILVerifyIsTrue(index < Size(), std::range_error, "index out of bounds");
```

The Google OSS libraries we use only officially support iOS 15+.
2024-06-04 10:15:20 -07:00
..
OnnxruntimeModule.xcodeproj
OnnxruntimeModule.xcworkspace
OnnxruntimeModuleTest [js/rn] Add test for validating "executionProvider" options (#16651) 2023-07-12 14:55:47 -07:00
OnnxruntimeJSIHelper.h
OnnxruntimeJSIHelper.mm [js/rn] Fix some bugs (#20242) 2024-05-15 10:32:08 -07:00
OnnxruntimeModule.h
OnnxruntimeModule.mm [js/rn] Fix React Native CI pipeline E2E test (#16447) 2023-06-22 14:33:49 -07:00
Podfile Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00
TensorHelper.h [js/rn] Fix React Native CI pipeline E2E test (#16447) 2023-06-22 14:33:49 -07:00
TensorHelper.mm Replace float_t with float (#16484) 2023-06-27 09:28:38 -07:00