onnxruntime/tools/ci_build/github/apple/onnxruntime-mobile-c.podspec.template
Guoyu Wang 79a6727a02
Add podspec template for ios package, update build settings (#7907)
* Add podspec template for ios package

* minor formatting update

* Add spec.source_files for header files

* Update spec.public_header_files to spec.source_files

* minor update
2021-06-02 11:30:05 -07:00

16 lines
912 B
Text

Pod::Spec.new do |spec|
spec.name = "onnxruntime-mobile-c"
spec.version = "${ORT_VERSION}"
spec.authors = { "ONNX Runtime" => "onnxruntime@microsoft.com" }
spec.license = { :type => "MIT" }
spec.homepage = "https://github.com/microsoft/onnxruntime"
spec.source = { :http => "_ORT_DOWNLOAD_URL_" }
spec.summary = "ONNX Runtime Mobile C/C++ Pod"
spec.platform = :ios, "${CMAKE_OSX_DEPLOYMENT_TARGET}"
spec.vendored_frameworks = "onnxruntime.framework"
spec.weak_framework = 'CoreML'
spec.source_files = 'onnxruntime.framework/Headers/*.h'
spec.description = <<-DESC
A preview pod for ONNX Runtime Mobile C/C++ library. Pods for Objective-C and Swift coming soon.
DESC
end