I’m using Googles sample app, running from their workspace file, to see how specifically Firebase Authentication works. I downloaded their sample project, installed the CocoaPods via terminal, and have ran Pod Update to ensure everything is up to date.
When I compile everything goes smooth until the very end with a single compiler crash for “No Such Module” for “import FirebaseAuthUI”.
I can post the code when I get home, and feel there may be something wrong with the header search path in build settings, have tried adding $(SCROOT) and continues to have an issue finding the frameworks.
I’ve scoured the net and have seen other issues finding Firebase pods just like this, just wondering what could be wrong. Here is a link to the project, I have not modified this project at all. Just wanted to see it work.
https://github.com/firebase/friendlypix-ios
FirebaseAuthUI & FirebaseGoogleAuthUI are now part of FirebaseUI.
So you should replace all the import FirebaseAuthUI & import FirebaseGoogleAuthUI with import FirebaseUI
You will be ready to go.
Related
I'm trying to build an iOS Application which provides AppClips. This means I need to put my code into modules so that the AppClip can reuse some of the code from the main application. The reusable part is using GoogleMaps and that SDK is not yet available via SPM. There is a third-party-fork which makes it SPM-compatible and it kind of works, but it wont let me upload the build because the GoogleMaps SDK gets imported/linked multiple times. Also there is some kind of error stating that it is not "inside the framework folder".
Can anyone provide a solution as to how to use GoogleMaps inside of a local Swift Package? I'm even fine with some kind of hack, because I still hope Google will provide SPM support soon.
So is there a way to use cocoapods or carthage pods or whatever inside a local Swift Package?
I am working on a node module that integrates with a native react app. I need to implement in the iOS project the functionalities of the node module written in "swift" and make it available in react. It turns out that when I try to import "RCTBridgeModule", it doesn't exist. I tried various "solutions" with no results.
I clarify that I have changed the name of the xcodeproj (the node module's iOS project) since it collides with the name of a framework that I plan to add.
Honestly, this problem gives me a headache and I don't have much experience with iOS development environments.
Xcode: Version 12.0.1 (12A7300).
Attached screenshots of some files and settings:
Thanks in advance!
I am trying to import SQLite into an app in Xcode. The version of this app was originally developed using SQLite from the following link (not SQLite3).
https://github.com/stephencelis/SQLite.swift
The library has worked in previous iterations, but now I get an error that says "No such module SQLite" when I try to import the library at the top of the file I want to use it.
I have followed the instructions on the gitHub page and still have trouble with the library. One thing that I notice is that in the file explorer the SQLite.framework files are highlighted in red. I believe this is the source of the problem however, I don't know how to fix this.
File Picture:
Import Error:
It looks like you want to include SQLite into your ReadySetFit project? If so, what you really need to do is to follow the instructions under the "Installation" section found on the GitHub repo's main page. I'm a fan of Cocoapods (because all you'd need to do then is add a Podfile to the folder containing your ReadySetFit project), but there's also SwiftPackageManager or Carthage.
Along with the instructions in the SQLite github repo main page (or README.md), here's a tutorial on how to add a Podfile to your project.
I hope this helps!
like the title says: I'm trying to add data from Firebase to my Today Extension. I've added all of the frameworks from my main project and now I'm trying to "import Firebase" into the .swift file for the today extension and it can't find it.
I'm using Swift 2.3 and the latest version of Firebase. Also, I'm very new to development so while I'm getting pretty familiar with the tools and language, I'm not entirely sure how everything connects so it's hard for me to troubleshoot. (And Google isn't pulling up anything relevant.)
I have not added the Google Info plist file to the app extension or pod files. But all of that is in the main project and working just fine.
Any help would be great. Thank you!
You have to add a new target to your podfile with the same name as the today extension you make.
I'm working on a personal project and I've installed Firebase with Cocoapods and imported it in the bridging-header.
My question is why do I get an error if I try to use a Firebase method in my project if I haven't written import Firebase at the top? The same can be said for Google Analytics etc.
The reason I ask is because in this tutorial: Ray Wenderlich Firebase Tutorial
Firebase is configured the same way as mine - but none of the documents contain import Firebase, and the project recognizes any Firebase method universally without errors.
I know I can just use import but I don't understand what I am doing differently and would rather not have to.
I think u have in pod file line:
use_frameworks!
delete it and reinstall pods it should help
In the mentioned project, the import is done from the Grocr-Bridging-Header.h, it's actually an Objective-C import:
#import <Firebase/Firebase.h>
The reason why the import was done from Objective-C is beause the project is quite old and Cocoapods didn't have support for Swift then.