我有本地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
如何解决/解决此问题?还是没有办法做到这一点?