Tag: firebaseui

Firebase更新后,Xcode中架构x86_64的未定义符号

我更新了FirebaseUI到最新版本,并更新TwitterCore 3.0.0(是2.8.0),自从我在Xcode中得到这个编译器错误: Undefined symbols for architecture x86_64: "_TWTRIdentifierForAdvertising", referenced from: +[TWTRCardConfiguration deviceID] in TwitterKit(TWTRCardConfiguration.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) 我目前恢复到以前版本的TwitterCore,即使它没有明确写入我的Podfile中。 我写了pod 'TwitterCore', '~>2.8.0'

如何为iOS的FirebaseUIlogin添加背景图片?

我希望能够在FirebaseUIlogin屏幕的三个loginbutton(用于Google,Facebook和电子邮件)后放置背景图像。 FirebaseUIlogin是针对iOS,Android和Web的一种embedded式authentication解决scheme。 我遇到了iOS的麻烦。 Github上有一些build议,但还不够。 我首先初始化我的var customAuthPickerViewController : FIRAuthPickerViewController! 靠近ViewController.swift文件的顶部。 然后,这是我的ViewController.swift文件中的function,但它不工作。 当我点击注销button,应用程序崩溃,并没有显示任何背景图像。 // Customize the sign-in screen to have the Bizzy Books icon/background image func authPickerViewController(for authUI: FIRAuthUI) -> FIRAuthPickerViewController { customAuthPickerViewController = authPickerViewController(for: authUI) backgroundImage = UIImageView(image: UIImage(named: "bizzybooksbee")) backgroundImage.contentMode = UIViewContentMode.scaleAspectFill customAuthPickerViewController.view.addSubview(backgroundImage) return customAuthPickerViewController } 背景图像“bizzybooksbee”是一个通用图像集,1x,2x和3x图像已经加载到我的Assets.xcassets文件夹中。 这里是一个没有尝试实现背景图像的login屏幕的样子 。 更新:我能够让图像显示,与我在下面的评论中给出的代码,但它显示在loginbutton,如下图所示。 这是Jeffrey的帮助下的“平等”的图像:

如何在Swift中的iOS上使用FirebaseUI进行Google身份validation?

我正在关注https://firebase.google.com/docs/auth/并希望使用FirebaseUI( https://github.com/firebase/FirebaseUI-iOS/tree/master/FirebaseUI )进行身份validation。 用户界面显示成功,我可以点击“使用谷歌login”,然后完成networkingloginstream程。 该应用程序重新打开身份validationurl,但authUIfunction永远不会触发。 怎么了? func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Override point for customization after application launch. FIRApp.configure() let authUI = FIRAuthUI.authUI()!; NSLog("setting up delegate"); authUI.delegate = self; let googleAuthUI = FIRGoogleAuthUI.init(clientID:FIRApp.defaultApp()!.options.clientID); authUI.signInProviders = [googleAuthUI!]; mSplitViewController = self.window!.rootViewController as! UISplitViewController self.window!.rootViewController = authUI.authViewController(); return true } func authUI(authUI: […]