NIM_iOS_SDK
NIM_iOS_SDK copied to clipboard
post_install 怎么解决OpenSSL重复依赖的问题
post_install 怎么解决OpenSSL重复依赖的问题 有没有示例
同问
pre_install do |installer|
exclude_files = ['libssl', 'libcrypto']
Dir.glob(File.join(installer.sandbox.pod_dir('BaiduMapKit'), '**', '*.a')).each do |bundle|
if (exclude_files.include?(File.basename(bundle, ".a").downcase))
puts "Removing #{bundle}"
FileUtils.rm_rf(bundle)
end
end
end