onnxruntime/tools/ci_build/github/apple/c/onnxruntime-mobile-c.podspec.template
Guoyu Wang 8992e31c85
Move iOS package from framework to xcframework (#8805)
* additional changes

* test package run

* minor fix

* minor fix

* minor fix

* Get around no arm64 simulator

* fix objc pod build failure

* downgrade_eigen

* update objc podspec template
2021-08-24 13:38:14 -07:00

22 lines
1.1 KiB
Text

Pod::Spec.new do |spec|
spec.name = "onnxruntime-mobile-c"
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 = "ONNX Runtime Mobile C/C++ Pod"
spec.platform = :ios, "@IOS_DEPLOYMENT_TARGET@"
spec.vendored_frameworks = "onnxruntime.xcframework"
spec.static_framework = true
spec.weak_framework = [ @WEAK_FRAMEWORK@ ]
spec.source_files = "Headers/*.h"
spec.preserve_paths = [ @LICENSE_FILE@ ]
spec.description = <<-DESC
A pod for the ONNX Runtime Mobile C/C++ library.
DESC
spec.library = "c++"
spec.pod_target_xcconfig = {
"OTHER_CPLUSPLUSFLAGS" => "-fvisibility=hidden -fvisibility-inlines-hidden",
}
end