MrJai / flutter_to_airplay

Flutter plugin that offers two widgets, one to play a video for a given URL or file path using native AVPlayer and second with an option to airplay it on available Apple devices.
MIT License
30 stars 24 forks source link

The 'Pods-Runner' target has transitive dependencies that include statically linked binaries #22

Open daveshirman opened 1 year ago

daveshirman commented 1 year ago

Hi,

Thanks again for this, just letting you know that as of the latest Flutter versions (3.3.7 upwards), I'm encountering the below error when trying to build:

- Running pre install hooks
    [!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries:
    (/<project-name>/ios/Pods/Mux-Stats-AVPlayer/XCFramework/MUXSDKStats.xcframework)

If I comment out the flutter_to_airplay dependency in pubspec.yaml, then I can build.

Any ideas?

FYI - I'm targeting iOS 11 in my Podfile and my stackoverflow question is here:

Cheers!

federico2390 commented 1 year ago

same error

pedromassango commented 1 year ago

I can't build either, however with a different error message:

Error (Xcode): '/Users/vagrant/git/build/ios/Debug-staging-iphoneos/XCFrameworkIntermediates/Mux-Stats-AVPlayer/MUXSDKStats.framework/MUXSDKStats' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/vagrant/git/build/ios/Debug-staging-iphoneos/XCFrameworkIntermediates/Mux-Stats-AVPlayer/MUXSDKStats.framework/MUXSDKStats' for architecture arm64

Mux-Stats-AVPlayer is being used internally by this Flutter plugin.

andreasgangso commented 1 year ago

I made a PR #26