Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Echo-Joker opened this issue Mar 29, 2019 · 2 comments
Open

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

Echo-Joker opened this issue Mar 29, 2019 · 2 comments

Comments

@Echo-Joker
Copy link

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

@vance-liu
Copy link

同问

@vance-liu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants