onnxruntime/tools/ci_build/github/apple/c/onnxruntime-mobile-c.podspec.template
Edward Chen b42e7d2c78
Add iOS packaging pipeline (#8264)
Create a pipeline to produce the iOS package artifacts.
2021-07-02 06:21:59 -07:00

19 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.framework"
spec.weak_framework = 'CoreML'
spec.source_files = 'onnxruntime.framework/Headers/*.h'
spec.preserve_paths = [ @LICENSE_FILE@ ]
spec.description = <<-DESC
A pod for the ONNX Runtime Mobile C/C++ library.
DESC
# TODO workaround - support arm64 iphonesimulator later
spec.user_target_xcconfig = { "EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64" }
end