Updated text podspec

This commit is contained in:
Prianka Liz Kariat 2023-04-25 04:22:18 +05:30
parent 472947818e
commit 8b44a7f181

View File

@ -12,12 +12,7 @@ Pod::Spec.new do |s|
s.module_name = 'MediaPipeTaskText' s.module_name = 'MediaPipeTaskText'
s.static_framework = true s.static_framework = true
s.user_target_xcconfig = { s.dependency 'MediaPipeTaskCommonObjects'
'OTHER_LDFLAGS[sdk=iphonesimulator*]' => '$(inherited) -force_load "$(PODS_ROOT)/MediaPipeTaskText/frameworks/graph_libraries/libMediaPipeTaskText_simulator_graph.a"',
'OTHER_LDFLAGS[sdk=iphoneos*]' => '$(inherited) -force_load "$(PODS_ROOT)/MediaPipeTaskText/frameworks/graph_libraries/libMediaPipeTaskText_device_graph.a"',
'STRIP_INSTALLED_PRODUCT' => 'NO'
}
s.library = 'c++' s.library = 'c++'
s.preserve_paths = 'frameworks/graph_libraries/*.a'
s.vendored_frameworks = 'frameworks/MediaPipeTaskText.xcframework' s.vendored_frameworks = 'frameworks/MediaPipeTaskText.xcframework'
end end