From 98007f0be6b9961bc8703b0ee5109fe71e0d17be Mon Sep 17 00:00:00 2001 From: Guoyu Wang <62914304+gwang-msft@users.noreply.github.com> Date: Mon, 24 May 2021 11:57:13 -0700 Subject: [PATCH] Fix typo in the ios packaging script (#7802) --- tools/ci_build/github/apple/build_ios_framework.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ci_build/github/apple/build_ios_framework.py b/tools/ci_build/github/apple/build_ios_framework.py index e521025e50..cf0c8a1196 100644 --- a/tools/ci_build/github/apple/build_ios_framework.py +++ b/tools/ci_build/github/apple/build_ios_framework.py @@ -75,16 +75,16 @@ def _build_package(args): build_dir_current_arch, build_config, build_config + "-" + sysroot, 'onnxruntime.framework') ort_libs.append(os.path.join(framework_dir, 'onnxruntime')) - # We actually only need to define the info.plist and headers once since they are all the same + # We actually only need to define the Info.plist and headers once since they are all the same if not info_plist_path: - info_plist_path = os.path.join(build_dir_current_arch, build_config, 'info.plist') + info_plist_path = os.path.join(build_dir_current_arch, build_config, 'Info.plist') headers = glob.glob(os.path.join(framework_dir, 'Headers', '*.h')) # manually create the fat framework framework_dir = os.path.join(build_dir, 'framework_out', 'onnxruntime.framework') pathlib.Path(framework_dir).mkdir(parents=True, exist_ok=True) - # copy the header files and info.plist + # copy the header files and Info.plist shutil.copy(info_plist_path, framework_dir) header_dir = os.path.join(framework_dir, 'Headers') pathlib.Path(header_dir).mkdir(parents=True, exist_ok=True)