onnxruntime/tools/ci_build/github/apple
Vrajang Parikh fd8ad9b950
Enable iOS packaging for training (#16525)
### Description
Enable support for building iOS packages/CocoaPods with training API

- Add `Training` Package variant and config files in current iOS
packaging utilities to enable creation of training packages

### Motivation and Context
This PR introduces new `Training` variant in
`build_and_assemble_ios_pods.py` script which allows creating pods for
iOS with training API enabled.

The sample script to build training pods:

```
python3 tools/ci_build/github/apple/build_and_assemble_ios_pods.py --variant Training \
--build-settings-file  tools/ci_build/github/apple/default_full_ios_training_framework_build_settings.json \ 
-b=-- path_to_protoc_exe=<path/to/protoc>
``` 

Note: build settings file should have `--enable_training` as a build
parameter.


Simply adding training packaging increases the duration of the Azure
pipeline for packaging by 70 minutes. To address this issue, we need to
parallelize pod creation. In order not to further strain the pipeline,
the changes for training packaging will be added in another PR, which
optimizes the packaging pipeline.

---------

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2023-07-05 13:27:59 -07:00
..
c Enable iOS packaging for training (#16525) 2023-07-05 13:27:59 -07:00
objectivec Enable iOS packaging for training (#16525) 2023-07-05 13:27:59 -07:00
__init__.py
assemble_ios_packaging_artifacts.sh Add workflow to update Objective-C docs. (#15413) 2023-04-07 15:00:15 -07:00
build_and_assemble_ios_pods.py Bump ruff in CI (#15533) 2023-04-17 10:11:44 -07:00
build_host_protoc.sh Remove protobuf submodule (#15190) 2023-03-27 10:35:49 -07:00
build_ios_framework.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
coreml_supported_ops.md [CoreML EP] Implement Unary & Reduce operators (#15532) 2023-05-24 18:16:59 +10:00
default_full_ios_framework_build_settings.json Fix some build issues on MacOS with Xcode 14.3. (#15878) 2023-06-07 12:07:11 -07:00
default_mobile_ios_framework_build_settings.json Fix some build issues on MacOS with Xcode 14.3. (#15878) 2023-06-07 12:07:11 -07:00
default_training_ios_framework_build_settings.json Enable iOS packaging for training (#16525) 2023-07-05 13:27:59 -07:00
framework_info.json.template
get_simulator_device_name.sh Fix some build issues on MacOS with Xcode 14.3. (#15878) 2023-06-07 12:07:11 -07:00
ios_packaging.requirements.txt
package_assembly_utils.py Enable iOS packaging for training (#16525) 2023-07-05 13:27:59 -07:00
test_ios_packages.py Fix some build issues on MacOS with Xcode 14.3. (#15878) 2023-06-07 12:07:11 -07:00
use_ios_pods_with_custom_build.md