-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix iOS artifacts issue in Microsoft.ML.OnnxRuntime Nuget Package (#1…
…9311) ### Description <!-- Describe your changes. --> Updates to only include ios archs framework in artifacts included in Nuget Package. ### 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. --> Related issue: #19295 (comment) --------- Co-authored-by: rachguo <[email protected]> Co-authored-by: Edward Chen <[email protected]>
- Loading branch information
1 parent
674afbe
commit ed8b7a6
Showing
4 changed files
with
58 additions
and
14 deletions.
There are no files selected for viewing
6 changes: 5 additions & 1 deletion
6
onnxruntime/test/platform/apple/apple_package_test/Podfile.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
tools/ci_build/github/apple/default_full_ios_framework_build_settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"build_osx_archs": { | ||
"iphoneos": [ | ||
"arm64" | ||
], | ||
"iphonesimulator": [ | ||
"arm64", | ||
"x86_64" | ||
] | ||
}, | ||
"build_params": { | ||
"base": [ | ||
"--parallel", | ||
"--use_xcode", | ||
"--build_apple_framework", | ||
"--use_coreml", | ||
"--use_xnnpack", | ||
"--skip_tests", | ||
"--cmake_extra_defines=onnxruntime_BUILD_UNIT_TESTS=OFF" | ||
], | ||
"iphoneos": [ | ||
"--ios", | ||
"--apple_deploy_target=12.0" | ||
], | ||
"iphonesimulator": [ | ||
"--ios", | ||
"--apple_deploy_target=12.0" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters