onnxruntime/tools/ci_build/github/apple
Rachel Guo 288b80d363
Add MacOS build to ORT C Pod (#18550)
### Description
<!-- Describe your changes. -->

As title.

1. Add macos build as an optionally enabled arch for pod and changes to
exsiting build_ios_framework/assemble_c_pod scripts.
2. Enable macos build arch in ios packaging pipeline (currently for
variants other than Mobile) and check the output artifacts are correct.
3. Write MacOS Test Target scheme in the test app and integrate into ios
packaging CI testing pipeline.
Currently the changes only apply to onnxruntime-c pod. as the original
request was from ORT SPM which consumes the onnxruntime-c pod only as
the binary target. TODO: could look into adding macos platform to objc
pod as well.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Enable macos platform support in cocoapods. and also potentially produce
binary target for enabling macos platform in SPM as well.

Replace https://github.com/microsoft/onnxruntime/pull/18334

---------

Co-authored-by: rachguo <rachguo@rachguos-Mac-mini.local>
Co-authored-by: rachguo <rachguo@rachguos-Mini.attlocal.net>
Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2023-11-28 10:11:53 -08:00
..
c
objectivec
__init__.py
assemble_apple_packaging_artifacts.sh
build_and_assemble_apple_pods.py
build_apple_framework.py
build_host_protoc.sh
coreml_supported_ops.md
default_full_apple_framework_build_settings.json
default_mobile_ios_framework_build_settings.json
default_training_ios_framework_build_settings.json
framework_info.json.template
get_simulator_device_info.py
ios_packaging.requirements.txt
package_assembly_utils.py
test_apple_packages.py
upload_pod_archive_and_update_podspec.sh
use_ios_pods_with_custom_build.md