-
Notifications
You must be signed in to change notification settings - Fork 467
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 transitive dependencies that include static binaries #34
Comments
Ref issue #23 |
Oh cool, I will try that. |
I can't get any project in Xcode 7.2 to compile with the latest FirebaseUI, even if i remove use_frameworks! |
Removing the use_frameworks! will add all pods as static libraries, therefore you will have to import them through the Obj-c-bridge-header file in order to use them in your code. |
Thanks, totally forgot to do that after removing use_frameworks! 👍 |
Has anyone tried this on Cocoapods 1.0 (or even 0.39) yet? They seem to claim it was fixed as of 0.39 (http://blog.cocoapods.org/CocoaPods-0.39/) |
I have tried on pod -v 1.0.0.beta.2, and the error still persists. |
Ok, thanks for letting us know, we'll do some more digging :) On a related note, I wish their docs gave a little more info on what they did or how the feature worked... |
+1. I'm running in to the same problem. Trying to make a new project from FirebaseUI and add the static libraries using CocoaPods in order to simplify my life with authing using Firebase. Is this viable? |
@eeschimosu Swift or Obj-C, and which version of iOS are you trying to use? |
@mcdonamp I would go for Obj-C since most of the job is already done, but I would love a Swift version of this. I am trying to use it from iOS 8.4 to 9.2.1 |
I've removed the Google static dependencies and created this Pod: https://github.com/eeschimosu/FireUInoGoogle. It's useful if you don't want or need the Google Auth. |
Yeah, it's an issue of Glad you got it working without Google, though it's sad that's what had to happen. If you're interested in helping out more, you could work on #26, which makes each provider it's own subspec, so you don't have to maintain FireUInoGoogle, but rather developers could just choose to not import FirebaseUI/GoogleAuth. |
Hi @motizuki, Firstly, apologies, I'm a bit new to Xcode and Swift, however, I'm really keen to try out Firebase and FirebaseUI.
I've followed the instructions given to add the pods as static libraries by removing the use_frameworks! statement in the Podfile. I've also added lines into my objc bridging header file like so:
However, I still get a No Such Module 'FirebaseUI' when I attempt to import it into my Swift app. Can you provide any guidance on how to get this working? Thanks |
@motizuki You should always add the umbrella header The thing that I assume is missing is the
The modulemap is typically generated through Cocoapods, but is either not being created, or is empty due to the lack of an umbrella header. You can modify the modulemap with the new stuff manually to try it out while we work to get some reasonable fixes. |
Thanks Mike, I will keep an eye out for the fix. |
Hey folks! 0.3.2 added support for per-provider subspecs, so at least now you can pick and choose which providers to install, which means that this bug is only a problem if you desire to use Google authentication (as it's a limit of Google SignIn, rather than FirebaseUI). I'll be closing it since it's "solved" in the general case, and developers should know how to deal with it when using Google SignIn. |
Hello,
I've been trying to use the FirebaseUI pod v0.3.1 and I am getting this error when I run 'pod install'.
[!] The '******' target has transitive dependencies that include static binaries: (path../Pods/Google/Libraries/libGGLCore.a and path../Pods/Google/Libraries/libGGLSignIn.a)
This is my pod file:
platform :ios, '8.0'
use_frameworks!
target 'projectName' do
pod 'FirebaseUI', '~> 0.3'
end
The text was updated successfully, but these errors were encountered: