Added podspec for CommonObjects and Vision tasks
This commit is contained in:
parent
8b44a7f181
commit
d63d3f61d7
|
@ -0,0 +1,23 @@
|
||||||
|
Pod::Spec.new do |s|
|
||||||
|
s.name = 'MediaPipeTaskCommonObjects'
|
||||||
|
s.version = '${MPP_BUILD_VERSION}'
|
||||||
|
s.authors = 'Google Inc.'
|
||||||
|
s.license = { :type => 'Apache',:file => "LICENSE" }
|
||||||
|
s.homepage = 'https://github.com/google/mediapipe'
|
||||||
|
s.source = { :http => '${MPP_DOWNLOAD_URL}' }
|
||||||
|
s.summary = 'MediaPipe Task Library - Text'
|
||||||
|
s.description = 'The Natural Language APIs of the MediaPipe Task Library'
|
||||||
|
|
||||||
|
s.ios.deployment_target = '11.0'
|
||||||
|
|
||||||
|
s.module_name = 'MediaPipeTaskCommonObjects'
|
||||||
|
s.static_framework = true
|
||||||
|
s.user_target_xcconfig = {
|
||||||
|
'OTHER_LDFLAGS[sdk=iphonesimulator*]' => '$(inherited) -force_load "${PODS_ROOT}/MediaPipeTaskCommonObjects/frameworks/graph_libraries/libMediaPipeTaskCommonObjects_simulator_graph.a"',
|
||||||
|
'OTHER_LDFLAGS[sdk=iphoneos*]' => '$(inherited) -force_load "$(PODS_ROOT)/MediaPipeTaskCommonObjects/frameworks/graph_libraries/libMediaPipeTaskCommonObjects_device_graph.a"',
|
||||||
|
}
|
||||||
|
s.frameworks = 'Accelerate', 'CoreMedia', 'AssetsLibrary', 'CoreFoundation', 'CoreGraphics', 'CoreImage', 'QuartzCore', 'AVFoundation', 'CoreVideo'
|
||||||
|
s.preserve_paths ='frameworks/graph_libraries/*.a'
|
||||||
|
s.library = 'c++'
|
||||||
|
s.vendored_frameworks = 'frameworks/MediaPipeTaskCommon.xcframework'
|
||||||
|
end
|
18
mediapipe/tasks/ios/MediaPipeTaskVision.podspec.template
Normal file
18
mediapipe/tasks/ios/MediaPipeTaskVision.podspec.template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
Pod::Spec.new do |s|
|
||||||
|
s.name = 'MediaPipeTaskVision'
|
||||||
|
s.version = '${MPP_BUILD_VERSION}'
|
||||||
|
s.authors = 'Google Inc.'
|
||||||
|
s.license = { :type => 'Apache',:file => "LICENSE" }
|
||||||
|
s.homepage = 'https://github.com/google/mediapipe'
|
||||||
|
s.source = { :http => '${MPP_DOWNLOAD_URL}' }
|
||||||
|
s.summary = 'MediaPipe Task Library - Vision'
|
||||||
|
s.description = 'The Vision APIs of the MediaPipe Task Library'
|
||||||
|
|
||||||
|
s.ios.deployment_target = '11.0'
|
||||||
|
|
||||||
|
s.module_name = 'MediaPipeTaskVision'
|
||||||
|
s.static_framework = true
|
||||||
|
s.dependency 'MediaPipeTaskCommonObjects'
|
||||||
|
s.library = 'c++'
|
||||||
|
s.vendored_frameworks = 'frameworks/MediaPipeTaskVision.xcframework'
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user