You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plugins should not require removing use_frameworks! from Podfile #9694
If this line is added back, the pod install step fails with the following error.
[!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (/Users/jackson/git/gsi42/example/ios/Pods/Google/Frameworks/GGLCore.framework and /Users/jackson/git/gsi42/example/ios/Pods/Google/Frameworks/GGLSignIn.framework)
A related issue is that the FlutterFire plugins are also written assuming use_frameworks! is not in the Podfile. For example, the Firebase Analytics example app fails when use_frameworks! is added back to its Podfile.
<module-includes>:1:1: warning: umbrella header for module 'Flutter' does not include header 'FlutterAsyncMessageListener.h' [-Wincomplete-umbrella]
#import "Headers/Flutter.h"
^
<module-includes>:1:1: warning: umbrella header for module 'Flutter' does not include header 'FlutterJSONMessageListener.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'Flutter' does not include header 'FlutterMessageListener.h' [-Wincomplete-umbrella]
3 warnings generated.
In file included from /Users/jackson/git/firebase_analytics/ios/Classes/FirebaseAnalyticsPlugin.m:7:
/Users/jackson/git/firebase_analytics/example/ios/Pods/Headers/Private/Firebase/Firebase.h:1:9: fatal error: 'FirebaseAnalytics/FirebaseAnalytics.h' file not found
#import <FirebaseAnalytics/FirebaseAnalytics.h>
^
3 warnings and 1 error generated.
We should try to make our plugin system compatible with use_frameworks!, or if that's not possible for Google Sign In, at least make the Firebase plugins able to build with use_frameworks!.
We have a workaround (commenting out use_frameworks!), though it's not pretty, so I’m probably going to focus on other more pressing issues for the next few weeks. This issue is available if anyone else wants to investigate; it's possible that the answer is "just move to Carthage" in which case we can punt it.
Carthage isn't officially supported by Firebase or Google Sign-In SDKs yet, so I think we might be stuck with Cocoapods until that changes. It is supported by Facebook, though.
Plus, Carthage doesn't automatically add(/remove) the dependent frameworks to your app project, which is basically the only thing we're using CocoaPods for (well, that, and letting plugins transitively depend on other frameworks).
Switching to Carthage means having to develop our own code for managing the Xcode projects, so it's not happening right now.
We talked about this in our meeting this morning and it sounds like we want use_frameworks! to be commented out by default in the new project template. This is more work for Swift developers but makes life easier for everyone else.
This issue is definetly real. Please @eseidel, you are our only hope =(
I simply can' run my project on MacOS since september last year (18). Everytime I need to debug ios is a real problem because my project doesn't compile though Intellij but it does through x-code! This is a problem because when compiling through x-code we lose hot reload and need to recompile every change
I have posted it on a separated issue, here #32910
Oh my god, I thought I was alone in this, I also can get the project to run through XCode but not with the flutter run nor flutter build command.
Really really regretting choosing Flutter in the past couple days where I have been dealing with users uploading videos and playing them back. That's too cutting edge for official Flutter libraries, and packages which go in that way are plagued of pitfalls as they rely on 3rd party plugins which brings us here.
But hey, we've got GameController support right? What else could be more important than that 🤔
Sorry if I'm coming through rude, I'm just exhausted of spending days surfing through blocking, unresolved, closed and ghost issues, struggling with something as basic and elementary as media playing.
This issue was closed 2 years ago. I think it would be most helpful if someone would be willing to open a fresh issue so we can make sure to address exactly the troubles being hit today.
@collinjackson or @jmagman may have more context as to the current state of things, but I recommend we start with a fresh issue (which can link to this one if desired).
This issue was closed 2 years ago. I think it would be most helpful if someone would be willing to open a fresh issue so we can make sure to address exactly the troubles being hit today.
@collinjackson or @jmagman may have more context as to the current state of things, but I recommend we start with a fresh issue (which can link to this one if desired).
I had already on #32910. It is almost 4 months old with no response =(
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
collinjackson commentedon May 8, 2017
We have a workaround (commenting out use_frameworks!), though it's not pretty, so I’m probably going to focus on other more pressing issues for the next few weeks. This issue is available if anyone else wants to investigate; it's possible that the answer is "just move to Carthage" in which case we can punt it.
eseidelGoogle commentedon May 12, 2017
If we're going to move to Carthage we'll want to do that sooner rather than later. :)
collinjackson commentedon May 12, 2017
Carthage isn't officially supported by Firebase or Google Sign-In SDKs yet, so I think we might be stuck with Cocoapods until that changes. It is supported by Facebook, though.
jakobr-google commentedon May 15, 2017
Plus, Carthage doesn't automatically add(/remove) the dependent frameworks to your app project, which is basically the only thing we're using CocoaPods for (well, that, and letting plugins transitively depend on other frameworks).
Switching to Carthage means having to develop our own code for managing the Xcode projects, so it's not happening right now.
collinjackson commentedon May 15, 2017
We talked about this in our meeting this morning and it sounds like we want use_frameworks! to be commented out by default in the new project template. This is more work for Swift developers but makes life easier for everyone else.
mit-mit commentedon May 23, 2017
@collinjackson @LarkAscending can we go ahead and remove this from the Firebase codelab then?
LarkAscending commentedon May 23, 2017
YES we can do that! Excellent news....and it's a low-impact change to the codelab.
Removing and republishing now.
LarkAscending commentedon May 23, 2017
Removed from step 6, Configure Google Sign-In on iOS section:
https://codelabs.developers.google.com/codelabs/flutter-firebase/#5
ch-muhammad-adil commentedon Apr 12, 2018
In your podfile where You see
comment user_frameworks!
and go to path /ios of the project
run
pod installand cheers.
shinayser commentedon Jan 30, 2019
I am trying to deploy my application and after removing
use frameworks!from the pod file I am getting a lot of erros.One of them is that one:
Anyone got a clue about it ?
pujitm commentedon Feb 4, 2019
No, but I have the same issue; you're not alone
peanut-flutter commentedon Mar 20, 2019
@shinayser, @pujitm, I have the same issue. See:
aloisdeniel/flutter_plugin_appcenter#3 (comment)
Please let me know if you worked it out!
pujitm commentedon Mar 20, 2019
@peanut-flutter The last time I checked, I still had to remove
use_frameworks!davydany commentedon Apr 16, 2019
Still having this issue.
As per the instructions, I've done the following:
camera: ^0.4.3+2to mypubspec.yaml,flutter packages get.NSCameraUsageDescriptionandNSMicrophoneUsageDescriptionto myInfo.plistwith the appropriate usage description.use_frameworks!in myPodfile, and ranpod installandpod updateat different times.Still, I'm left with the following error:
lifenautjoe commentedon Sep 4, 2019
Same issue here. Any chance we can reopen this isuse?
shinayser commentedon Sep 4, 2019
This issue is definetly real. Please @eseidel, you are our only hope =(
I simply can' run my project on MacOS since september last year (18). Everytime I need to debug ios is a real problem because my project doesn't compile though Intellij but it does through x-code! This is a problem because when compiling through x-code we lose hot reload and need to recompile every change
I have posted it on a separated issue, here #32910
lifenautjoe commentedon Sep 4, 2019
Oh my god, I thought I was alone in this, I also can get the project to run through XCode but not with the
flutter runnorflutter buildcommand.Really really regretting choosing Flutter in the past couple days where I have been dealing with users uploading videos and playing them back. That's too cutting edge for official Flutter libraries, and packages which go in that way are plagued of pitfalls as they rely on 3rd party plugins which brings us here.
But hey, we've got GameController support right? What else could be more important than that 🤔
Sorry if I'm coming through rude, I'm just exhausted of spending days surfing through blocking, unresolved, closed and ghost issues, struggling with something as basic and elementary as media playing.
eseidelGoogle commentedon Sep 4, 2019
This issue was closed 2 years ago. I think it would be most helpful if someone would be willing to open a fresh issue so we can make sure to address exactly the troubles being hit today.
@collinjackson or @jmagman may have more context as to the current state of things, but I recommend we start with a fresh issue (which can link to this one if desired).
shinayser commentedon Sep 4, 2019
I had already on #32910. It is almost 4 months old with no response =(
eseidelGoogle commentedon Sep 4, 2019
Thank you @shinayser!
github-actions commentedon Aug 28, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.