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

Pods error - target has transitive dependencies that include static binaries #21

Closed
royherma opened this issue Jan 17, 2016 · 14 comments
Closed

Comments

@royherma
Copy link

Getting this error when trying to install via pods:

Installing libjingle_peerconnection (11177.2.0)
[!] The 'Pods-Dabble' target has transitive dependencies that include static binaries: (/Users/royhermann/Desktop/Development/Dabble/Pods/libjingle_peerconnection/libjingle_peerconnection/libWebRTC.a)

Any ideas how to successfully install?

Thanks

@royherma
Copy link
Author

BTW - The way the pod is set up, is it suppose to work for Swift as well or only ObjC?

@KeChihYang
Copy link

I also got this problem. My podfile need install Socket.IO-Client-Swift which need "use_framework!" command, but if add use_framework! in podfile, it can not successfully install.

Only remove use_framework! from podfile, can be installed successfully.

Anyone know how to fix this problem?

@ssldhl
Copy link

ssldhl commented Feb 8, 2016

I am trying to integrate the AppRTC pod in my project (https://github.com/sushilthe/webrtc-ios-swift) but including use_frameworks! in PodFile gives me the exact same error.

Does anyone have the solution?

@a-athaullah
Copy link
Contributor

I allready check on your project and run it on my xcode, it works well. So maybe you just need to update your pod.

@a-athaullah
Copy link
Contributor

fyi: I just add "App Transport Security Settings" -> "Allow Arbitrary Loads" : "YES" in info.plist

@kumangdeal
Copy link

any solution ?

@stanchiang
Copy link

^bump

@coolwr
Copy link
Contributor

coolwr commented Jun 29, 2016

Hi All, it might be a while before anyone on our side will be able to look into the "transitive dependency" error that occurs with the latest version of cocoa pods. Here's some guidance on this thread: #39

@stanchiang
Copy link

got it. appreciate the quick followup.

@momosmile
Copy link

I also got this problem.please solution this problem?

@coolwr
Copy link
Contributor

coolwr commented Jun 28, 2017

AppRTC upgraded to 1.0.3. For the transitive dependencies that include static binaries error when installing you can add the following to your PodFile

pre_install do |installer|
    def installer.verify_no_static_framework_transitive_dependencies; end
end

@coolwr coolwr closed this as completed Jun 28, 2017
@v-at-y
Copy link

v-at-y commented Aug 8, 2017

Per CocoaPods/CocoaPods#3289 (comment), the pre_install command post-cocapods 1.3.x should be:

pre_install do |installer|
    # workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
    Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end

@marwendoukh
Copy link

You could install SocketIO with Carthage by adding this line to your Cartfile :

github "socketio/socket.io-client-swift"

Then add the Starscream and SocketIO frameworks to your project.

@sansuba
Copy link

sansuba commented Oct 2, 2018

Per CocoaPods/CocoaPods#3289 (comment), the pre_install command post-cocapods 1.3.x should be:

pre_install do |installer|
    # workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
    Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end

this was helped to solve the issue. My pod version is 1.0.4

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