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
Target has frameworks with conflicting names: googletoolboxformac. #6083
Comments
This looks like a dup of #5643. Going to close this one. Thanks for filing! |
When will there be a fix for this? Unable to use CocoaPods at all with my framework + share extension project! The RC did not give this error and everything worked just fine. Just change this to warning. |
This is a fairly common use case when having extensions, so it would be good to have some feedback from the team about this. Maybe this comment could be a possible solution? Other then that, a workaround is to make every "subpod" a standalone pod, but it's not the cleanest solution because it complicates the pod project (imports for example). |
Yes. with 1.2.0 Have this error. How to link pod to the extension target? |
Me too have same problem :| |
Installed cocoapods 1.1.1 vers |
Same problem with 1.2.1 |
If you could provide a Podfile that reproduces the issue, that'd be helpful! |
I have run into this issue with almost 7 projects now. I still have no idea why it happens, or how exactly it should be fixed. The linked threads in this thread have all been closed and so cannot be commented on. This is the only result for this issue that comes up in Google. I am a little frustrated here. |
The issue is with the extension. Somehow Google's frameworks (Firebase and regular Google) are conflicting when not added to both targets together (main and the extension). The quick fix that worked for me is to either add GoogleSignIn or whatever Google module you are trying to add to the extension target as well as the main target, or remove any google module from extension target in Podfile and update if applicable. Basically if you are using several Google modules, either mirror them to the extension target as well or exclude any/conflicting Google modules from the extension target in Podfile if applicable. @mxcl hi from MM |
Guys, i've been developing custom keyboards for a while. Just use |
Report
What did you do?
pod update
What did you expect to happen?
Install all pod dependencies correctly and the project compiles without errors.
What happened instead?
If I include FireBase/Core to MyAppExtension target I get this error in pod update:
[!] The 'Pods-MyApp' target has frameworks with conflicting names: googletoolboxformac.
If I do NOT include FireBase/Core to MyAppExtension target I get a compiler error "Missing required Module ''Firebase".
Really don't understand why a framework is needed from a framework I have imported. What other frameworks the framework is using should be its internal matter. My projects are all Swift. Firebase is some binary only objective-c crap.
CocoaPods Environment
Stack
Installation Source
Plugins
Podfile
Project that demonstrates the issue
The text was updated successfully, but these errors were encountered: