onnxruntime/tools/ci_build/github/apple/c/c.podspec.template
Edward Chen ffde44cd09
[iOS Packaging] Add full ORT build iOS package. (#10626)
Add C/C++ and Objective-C packages with full ORT builds.
2022-02-28 15:39:07 -08:00

20 lines
1 KiB
Text

Pod::Spec.new do |spec|
spec.name = "@NAME@"
spec.version = "@VERSION@"
spec.authors = { "ONNX Runtime" => "onnxruntime@microsoft.com" }
spec.license = { :type => "MIT", :file => "@LICENSE_FILE@" }
spec.homepage = "https://github.com/microsoft/onnxruntime"
spec.source = { :http => "file:///http_source_placeholder" }
spec.summary = "@SUMMARY@"
spec.platform = :ios, "@IOS_DEPLOYMENT_TARGET@"
spec.vendored_frameworks = "@ORT_C_FRAMEWORK@"
spec.static_framework = true
spec.weak_framework = [ @WEAK_FRAMEWORK@ ]
spec.source_files = "@ORT_C_HEADERS_DIR@/*.h"
spec.preserve_paths = [ "@LICENSE_FILE@" ]
spec.description = "@DESCRIPTION@"
spec.library = "c++"
spec.pod_target_xcconfig = {
"OTHER_CPLUSPLUSFLAGS" => "-fvisibility=hidden -fvisibility-inlines-hidden",
}
end