Podfile
1.33 KB
use_frameworks!
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git'
source 'http://bj.gitlab.cnlive.com/DSIOSTeam/DSSpecRepos.git'
platform :ios, '10.0'
target 'CNLiveCPhotoRepairModule_Example' do
pod 'CNLiveCPhotoRepairModule', :path => '../'
#依赖三方私有库,如果里面有.a的时候加上这个
pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
############################################ #删除WebViewJavascriptBridge中的WebViewJavascriptBridge.h和WebViewJavascriptBridge.m文件
dir_web = File.join(installer.sandbox.pod_dir('WebViewJavascriptBridge'), 'WebViewJavascriptBridge')
Dir.foreach(dir_web) {|x|
real_path = File.join(dir_web, x)
if (!File.directory?(real_path) && File.exists?(real_path))
if(x == 'WebViewJavascriptBridge.h' || x == 'WebViewJavascriptBridge.m')
File.delete(real_path)
end
end
}
#删除WebViewJavascriptBridge中的WebViewJavascriptBridge.h和WebViewJavascriptBridge.m文件
#################################################
end
target 'CNLiveCPhotoRepairModule_Tests' do
inherit! :search_paths
end
end