-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Plugins should not require removing use_frameworks! from Podfile #9694
Comments
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. |
If we're going to move to Carthage we'll want to do that sooner rather than later. :) |
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. |
@collinjackson @LarkAscending can we go ahead and remove this from the Firebase codelab then? |
YES we can do that! Excellent news....and it's a low-impact change to the codelab. |
Removed from step 6, Configure Google Sign-In on iOS section: |
In your podfile where You see
comment user_frameworks!
and go to path /ios of the project run
and cheers. |
I am trying to deploy my application and after removing
Anyone got a clue about it ? |
No, but I have the same issue; you're not alone |
@shinayser, @pujitm, I have the same issue. See: Please let me know if you worked it out! |
@peanut-flutter The last time I checked, I still had to remove |
Still having this issue. As per the instructions, I've done the following:
Still, I'm left with the following error:
|
Same issue here. Any chance we can reopen this isuse? |
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 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). |
I had already on #32910. It is almost 4 months old with no response =( |
Thank you @shinayser! |
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 |
Right now the Google Sign In example app has removed use_frameworks! from its Podfile.
If this line is added back, the pod install step fails with the following error.
See firebase/FirebaseUI-iOS#34 for an example of other devs struggling with this issue.
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.
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!.
/cc @mravn-google @jakobr-google @szakarias @mit-mit
The text was updated successfully, but these errors were encountered: