MIHCrypto。添加使用具有静态lib的另一个pod作为本地pod依赖项的pod

时间:2019-07-10 17:36:40

标签: swift xcode cocoapods

我有本地pod并尝试将MIHCrypto添加为依赖项,但出现错误:

[!] The 'Pods-MyProj' target has transitive dependencies that include statically linked binaries: (/Users/user/Projects/MyProj/Pods/OpenSSL-Universal/lib-macos/libcrypto.a and /Users/user/Projects/MyProj/Pods/OpenSSL-Universal/lib-macos/libssl.a)

local-pod / local-pod.podspec

Pod::Spec.new do |s|

    s.name = "LocalPod"

    ...
    s.dependency 'MIHCrypto'
    ...

end

Podfile

platform :osx, '10.11'

inhibit_all_warnings!

target 'MyProj' do
    use_frameworks!
    ...
    pod 'LocalPod', :path => '../../local-pod'
    ...
end

如何解决/解决此问题?还是没有办法做到这一点?

0 个答案:

没有答案