From afed5016ae418d1618bbb7ac5b3e8d5f99e7b139 Mon Sep 17 00:00:00 2001 From: pacowong Date: Wed, 23 Oct 2024 21:24:13 +0800 Subject: [PATCH 1/2] Downgrade to 16.4 --- .../apple/default_full_ios_framework_build_settings.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ci_build/github/apple/default_full_ios_framework_build_settings.json b/tools/ci_build/github/apple/default_full_ios_framework_build_settings.json index e50ee3de7221d..d6d49205a8e7a 100644 --- a/tools/ci_build/github/apple/default_full_ios_framework_build_settings.json +++ b/tools/ci_build/github/apple/default_full_ios_framework_build_settings.json @@ -24,17 +24,17 @@ "--ios", "--use_xcode", "--use_xnnpack", - "--apple_deploy_target=16.6" + "--apple_deploy_target=16.4" ], "iphonesimulator": [ "--ios", "--use_xcode", "--use_xnnpack", - "--apple_deploy_target=16.6" + "--apple_deploy_target=16.4" ], "macabi":[ "--macos=Catalyst", - "--apple_deploy_target=16.6" + "--apple_deploy_target=16.4" ] } } From 32afc75a047eee76325260c6acdb37b8b2ff4ded Mon Sep 17 00:00:00 2001 From: pacowong Date: Wed, 23 Oct 2024 23:56:43 +0800 Subject: [PATCH 2/2] Add symbolic link --- .circleci/config.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 08945cb38bd74..788a83e26aa46 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,8 +46,18 @@ jobs: - run: name: archive the build results command: | + cd $HOME/onnxlibrary/macabi_release_v20230327_2320/framework_out/onnxruntime.xcframework/ios-arm64_x86_64-maccatalyst/onnxruntime.framework + mkdir -p Versions/A + mkdir -p Versions/A/Resources + mv Headers Versions/A/ + ln -s Versions/A/Headers Headers + mv Info.plist Versions/A/Resources/ + ln -s Versions/A/Resources Resources + mv onnxruntime Versions/A/ + ln -s Versions/A/onnxruntime onnxruntime + cd Versions && ln -s Current A tar -cvf /Users/distiller/project/onnxruntime_xcf.tar -C $HOME/onnxlibrary/macabi_release_v20230327_2320/framework_out . - zip -r /Users/distiller/project/onnxruntime_xcframework.zip $HOME/onnxlibrary/macabi_release_v20230327_2320/framework_out/onnxruntime_xcframework/ + zip -r /Users/distiller/project/onnxruntime_xcframework.zip $HOME/onnxlibrary/macabi_release_v20230327_2320/framework_out/onnxruntime.xcframework/ - store_artifacts: path: /Users/distiller/project/onnxruntime_xcf.tar