onnxruntime/tools/ci_build/github/apple
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
..
c Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00
objectivec Enable MacOS build in ORT Objc Pod (#18786) 2023-12-13 13:50:42 -08:00
__init__.py [iOS Packaging] Add full ORT build iOS package. (#10626) 2022-02-28 15:39:07 -08:00
assemble_apple_packaging_artifacts.sh Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00
build_and_assemble_apple_pods.py Bump ruff to 0.3.2 and black to 24 (#19878) 2024-03-13 10:00:32 -07:00
build_apple_framework.py Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00
coreml_supported_ops.md [CoreML] Add Softmax and Split op support (#18358) 2023-11-23 14:26:57 -08:00
default_full_apple_framework_build_settings.json Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00
default_full_ios_framework_build_settings.json Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00
default_training_ios_framework_build_settings.json Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00
default_vision_os_framework_build_settings.json Support visionos build (#20365) 2024-04-23 18:15:07 -07:00
framework_info.json.template Support xcframework for mac catalyst builds. (#19534) 2024-03-20 10:55:19 -07:00
get_simulator_device_info.py Remove iOS simulator max runtime version limit. (#19396) 2024-02-06 14:54:06 -08:00
ios_packaging.requirements.txt Add iOS packaging pipeline (#8264) 2021-07-02 06:21:59 -07:00
package_assembly_utils.py Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00
package_release_tasks.py Update package_release_tasks.py (#20835) 2024-05-28 17:50:25 -07:00
test_apple_packages.py Support xcframework for mac catalyst builds. (#19534) 2024-03-20 10:55:19 -07:00
test_minimal_training_ios_simulator_framework_build_settings.json Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00
use_ios_pods_with_custom_build.md Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00