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

[!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (...ZDCChatAPI.framework and ...ZDCChat.framework) #1

Closed
TENCAR-RUSSIA opened this issue Mar 4, 2019 · 5 comments · Fixed by #3

Comments

@TENCAR-RUSSIA
Copy link

TENCAR-RUSSIA commented Mar 4, 2019

After install from pub to my project have that error:
[!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (...ZDCChatAPI.framework and ...ZDCChat.framework)
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/installer/xcode/target_validator.rb:81:in block (2 levels) in verify_no_static_framework_transitive_dependencies' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in each'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in block in verify_no_static_framework_transitive_dependencies' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in each'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in verify_no_static_framework_transitive_dependencies' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/installer/xcode/target_validator.rb:36:in validate!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/installer.rb:443:in validate_targets' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/installer.rb:124:in install!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/command/install.rb:48:in run' /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/lib/cocoapods/command.rb:52:in run' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.0.beta.1/bin/pod:55:in <top (required)>'
/usr/local/bin/pod:22:in load' /usr/local/bin/pod:22:in

'


But example project works fine

@andreidiaconu
Copy link
Contributor

andreidiaconu commented Jun 4, 2019

Same error on my side. I should mention my project is a Swift project - and I think this is related to flutter/flutter#14161

@emostar Do you think adding s.static_framework = true to the podspecs file would fix this?

andreidiaconu added a commit to andreidiaconu/flutter-zendesk that referenced this issue Jun 4, 2019
Proposed solution cames from flutter/flutter#14161
@andreidiaconu andreidiaconu mentioned this issue Jun 4, 2019
@andreidiaconu
Copy link
Contributor

Tried it on my own fork and it works fine. Not sure if it messes things up for Objective-C project but I expect it doesn't. Cheers.

@emostar
Copy link
Owner

emostar commented Jun 6, 2019

Thanks for the PR!

@emostar emostar closed this as completed in #3 Jun 6, 2019
emostar added a commit that referenced this issue Jun 6, 2019
@andreidiaconu
Copy link
Contributor

You should also consider releasing a new version 1.0.1 to pub.dev, otherwise people can't easilly use the library with the fix. Thank you.

@emostar
Copy link
Owner

emostar commented Jun 7, 2019 via email

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

Successfully merging a pull request may close this issue.

2 participants