NIM_iOS_SDK icon indicating copy to clipboard operation
NIM_iOS_SDK copied to clipboard

post_install 怎么解决OpenSSL重复依赖的问题

Open Echo-Joker opened this issue 6 years ago • 2 comments

post_install 怎么解决OpenSSL重复依赖的问题 有没有示例

Echo-Joker avatar Mar 29 '19 07:03 Echo-Joker

同问

vance-liu avatar Mar 29 '20 09:03 vance-liu

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

vance-liu avatar Mar 29 '20 09:03 vance-liu