mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
iOS Coacopods spec fix (#8678)
This commit is contained in:
parent
0725f80d2d
commit
a13daf550b
2 changed files with 5 additions and 2 deletions
|
|
@ -16,8 +16,10 @@ Pod::Spec.new do |spec|
|
|||
A pod for the ONNX Runtime Mobile C/C++ library.
|
||||
DESC
|
||||
spec.library = "c++"
|
||||
spec.user_target_xcconfig = {
|
||||
spec.pod_target_xcconfig = {
|
||||
"OTHER_CPLUSPLUSFLAGS" => "-fvisibility=hidden -fvisibility-inlines-hidden",
|
||||
}
|
||||
spec.user_target_xcconfig = {
|
||||
# TODO workaround - support arm64 iphonesimulator later
|
||||
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ Pod::Spec.new do |s|
|
|||
|
||||
core.pod_target_xcconfig = {
|
||||
"HEADER_SEARCH_PATHS" => include_dirs.join(" "),
|
||||
"EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64",
|
||||
"OTHER_CPLUSPLUSFLAGS" => "-fvisibility=hidden -fvisibility-inlines-hidden",
|
||||
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64",
|
||||
}
|
||||
|
||||
core.public_header_files = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue