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 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" ] } }