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 #7

Closed
iyuhang opened this issue Sep 15, 2019 · 3 comments · Fixed by #8
Closed

The 'Pods-Runner' target has transitive dependencies that include static binaries #7

iyuhang opened this issue Sep 15, 2019 · 3 comments · Fixed by #8

Comments

@iyuhang
Copy link
Contributor

iyuhang commented Sep 15, 2019

  • Running pre install hooks
    [!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (/Users/apple/Flutter/projects/fixtime/ios/Pods/AgoraRtm_iOS/AgoraRtmKit.framework)
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:81:in block (2 levels) in verify_no_static_framework_transitive_dependencies' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in each'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in block in verify_no_static_framework_transitive_dependencies' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in each'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in verify_no_static_framework_transitive_dependencies' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:36:in validate!'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer.rb:459:in validate_targets' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer.rb:138:in install!'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/command/install.rb:48:in run' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in run'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/command.rb:52:in run' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/bin/pod:55:in <top (required)>'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/bin/pod:22:in load' /usr/local/Cellar/cocoapods/1.6.1/libexec/bin/pod:22:in '

因为其他插件需要,我去除了 use_frameworks! 的注释

• No issues found!
AnsenMBP-3:fixtime apple$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G87, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.38.0)
[✓] Connected device (1 available)

@iyuhang
Copy link
Contributor Author

iyuhang commented Sep 15, 2019

emostar/flutter-zendesk#1

andreidiaconu/flutter-zendesk@60cafaa

在插件 ios podspec 上增加 s.static_framework = true 解决了问题
自己 clone 了一个可以运行了

@Matrixbirds
Copy link
Contributor

十分欢迎贡献代码

@Matrixbirds
Copy link
Contributor

@iyuhang 感谢贡献,已经发布至0.9.7版本

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