加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
LenztechBusinessSDK.podspec 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
James 提交于 2022-02-23 10:27 . sdk version 0.5.0
Pod::Spec.new do |s|
s.name = "LenztechBusinessSDK"
s.version = "0.5.0"
s.summary = "朗镜通iOS 相机 SDK"
s.description = <<-DESC
朗镜通iOS 相机 SDK 云端识别
DESC
s.homepage = "https://gitee.com/ppz_bj/LenztechBusinessSDK.git"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Lenz iOS Team" => "qiuyoubo@lenztechretail.com" }
s.platform = :ios, "9.0"
s.source = { :git => "https://gitee.com/ppz_bj/LenztechBusinessSDK.git", :tag => "#{s.version}" }
s.default_subspec = 'default'
s.subspec 'default' do |sub|
sub.resources = "sdk/resources/*"
sub.vendored_frameworks = "sdk/LenzBusinessSDK.framework","sdk/opencv2.framework"
sub.pod_target_xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(PODS_ROOT)/LenztechBusinessSDK/sdk',
'OTHER_LDFLAGS' => '-Objc -framework LenzBusinessSDK -framework opencv2'
}
end
s.subspec 'remake' do |sub|
sub.resources = "sdk/resources/*","sdk/LenzTensorFlow.framework"
sub.preserve_path = 'sdk/LenzTensorFlow.framework'
sub.vendored_frameworks = "sdk/LenzBusinessSDK.framework","sdk/opencv2.framework","sdk/LenzTensorFlow.framework"
sub.xcconfig = { 'LD_RUNPATH_SEARCH_PATHS' => '@loader_path/../Frameworks' }
sub.pod_target_xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(PODS_ROOT)/LenztechBusinessSDK/sdk',
'OTHER_LDFLAGS' => '-Objc -framework LenzBusinessSDK -framework opencv2 -framework LenzTensorFlow'
}
end
# s.xcconfig = { 'OTHER_LDFLAGS' => '-weak_framework LenzTensorFlow'}
# 系统的
s.frameworks = 'MediaPlayer', 'CoreData', 'SystemConfiguration', 'CoreServices' , 'AssetsLibrary', 'CoreTelephony', 'CoreMotion', 'Photos', 'AVFoundation', 'CoreMedia', 'AudioToolbox','AVKit'
s.libraries = 'resolv.9','c++'
s.requires_arc = true
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化