Podfile
1 KB
use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'
source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git'
source 'https://gitee.com/baidu/swan-ios-specs.git'
platform :ios, '10.0'
target 'CNLiveBBASMModule_Example' do
pod 'CNLiveBBASMModule', :path => '../'
#依赖三方私有库,如果里面有.a的时候加上这个
pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
target.build_configurations.each do |config|
#share使用pod库时,pod中包含[UIApplication sharedApplication]的代码,需要下面的配置
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
config.build_settings['ENABLE_BITCODE'] = false
end
end
end
target 'CNLiveBBASMModule_Tests' do
inherit! :search_paths
end
end