-
Notifications
You must be signed in to change notification settings - Fork 958
Getting "target has transitive dependencies that include statically linked binaries" error #606
Comments
Which cocoapods version are you using ? |
If you are using
|
Hi thank you for your response
It works.
Thank you
…On Tue, 5 Nov 2019 at 9:13 PM, Pritesh Nandgaonkar ***@***.***> wrote:
If you are using use_framework!. Make sure you add the following
$static_framework = ['FlipperKit', 'Flipper', 'Flipper-Folly',
'CocoaAsyncSocket', 'ComponentKit', 'DoubleConversion',
'glog', 'Flipper-PeerTalk', 'Flipper-RSocket', 'Yoga', 'YogaKit',
'CocoaLibEvent', 'OpenSSL-Universal', 'boost-for-react-native']
pre_install do |installer|
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
installer.pod_targets.each do |pod|
if $static_framework.include?(pod.name)
def pod.build_type;
Pod::Target::BuildType.static_library
end
end
end
end
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#606?email_source=notifications&email_token=ANTDE6FRVUHQJXEQ7Q7DPUTQSGICRA5CNFSM4JFMCYYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDDEBJA#issuecomment-549863588>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANTDE6GRPLZDA3RNRSPT53LQSGICRANCNFSM4JFMCYYA>
.
|
Had to use |
Apparently this is closed but when I did the exact same thing with the suggested solution I had a different error:
This in $static_framework = ['FlipperKit', 'Flipper', 'Flipper-Folly',
'CocoaAsyncSocket', 'ComponentKit', 'DoubleConversion',
'glog', 'Flipper-PeerTalk', 'Flipper-RSocket', 'Yoga', 'YogaKit',
'CocoaLibEvent', 'OpenSSL-Universal', 'boost-for-react-native']
pre_install do |installer|
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
installer.pod_targets.each do |pod|
if $static_framework.include?(pod.name)
def pod.build_type;
Pod::BuildType.static_library
end
end
end
end
# Enables Flipper.
use_flipper!({ 'Flipper' => '0.102.0', 'Flipper-Folly' => '2.6.7', 'Flipper-RSocket' => '1.4.3', 'Flipper-DoubleConversion' => '3.1.7', 'Flipper-Glog' => '0.3.9', 'Flipper-PeerTalk' => '0.0.4' }) |
Same for me |
any solution to 'fmt/compile.h' file not found ? |
same problem. |
in Podfile - commenting filpper resolved it for me. # Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
use_flipper!() |
tanks @tonyvx it's work for me |
Thank you |
i was using a very old version and this fixed it for me |
In my case adding |
Work for me! thx |
Hi team, im getting below error at the end of "pod install"
I have followed instructions from : https://fbflipper.com/docs/getting-started.html#cocoapods
Kindly help me to solve it.
[!] The 'Pods-App-target' target has transitive dependencies that include statically linked binaries: (/Users/keshavgn/Desktop/Projects/halodoc-ios/Pods/CocoaLibEvent/lib/libevent.a, /Users/keshavgn/Desktop/Projects/halodoc-ios/Pods/CocoaLibEvent/lib/libevent_core.a, /Users/keshavgn/Desktop/Projects/halodoc-ios/Pods/CocoaLibEvent/lib/libevent_extra.a, /Users/keshavgn/Desktop/Projects/halodoc-ios/Pods/CocoaLibEvent/lib/libevent_pthreads.a, /Users/keshavgn/Desktop/Projects/halodoc-ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a, and /Users/keshavgn/Desktop/Projects/halodoc-ios/Pods/OpenSSL-Universal/ios/lib/libssl.a)
The text was updated successfully, but these errors were encountered: