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

[Bug]: Pod install Error #165

Closed
1 task done
bhanuka96 opened this issue Nov 13, 2021 · 5 comments · Fixed by #166
Closed
1 task done

[Bug]: Pod install Error #165

bhanuka96 opened this issue Nov 13, 2021 · 5 comments · Fixed by #166
Labels
bug🐞 Something isn't working

Comments

@bhanuka96
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I got this error when installing pod. I try delete my pod files but same error is coming.

The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (.../ios/Pods/FBAudienceNetwork/Static/FBAudienceNetwork.xcframework)

Temp Solution: downgrade plugin to 0.12.0

Expected Behavior

install pod without any issues

Steps To Reproduce

No response

Platform

No response

Flutter Doctor

doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-x64, locale
    en-LK)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.62.1)
[✓] Connected device (2 available)
@bhanuka96 bhanuka96 added the bug🐞 Something isn't working label Nov 13, 2021
@zhanglijie5997
Copy link

i have the same problem. Is there a solution? thanks.

@bhanuka96
Copy link
Author

@zhanglijie5997 Temp Solution: downgrade plugin to 0.12.0

@OneXeor
Copy link

OneXeor commented Nov 15, 2021

To avoid this issue you can add following lines to your Podfile

$static_framework = ['facebook_app_events']

pre_install do |installer|
  installer.pod_targets.each do |pod|
    if $static_framework.include?(pod.name)
      def pod.build_type;
        Pod::BuildType.static_framework
      end
    end
  end
end

@zooRg
Copy link

zooRg commented Nov 16, 2021

To avoid this issue you can add following lines to your project Podfile

$static_framework = ['facebook_app_events']

pre_install do |installer|
  installer.pod_targets.each do |pod|
    if $static_framework.include?(pod.name)
      def pod.build_type;
        Pod::BuildType.static_framework
      end
    end
  end
end

tnx this work for me

@DennisAlund
Copy link
Member

Released in 0.14.5

Sorry for the delay and thank you for all the engagement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants