Add firebase to iOS app through cocoapods
Вставка
- Опубліковано 22 сер 2024
- In this tutorial, you will learn how to install and use Cocoapods, and also you will learn how to add a 3dr parity framework via Cocoapods .
I thought it with install firebase frameworks through Cocoapods to a sample project.
Thanks for ur video
Most welcome
I dont have appdelegste.swift file, and i cand see any .swift file in project. Any advice??
if you are using SwiftUI you should define your own Appdelegate
```
class AppDelegate: NSObject, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
print("Your code here")
return true
}
}
@main
struct MyApplication: App {
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
```
thanks!
Welcome!
Does it create a problem if you deselect the google analytics feature?
No, you just can't use that feature. because it will not available on your project
are you iranian?
Hello. i have a problem that i can't set up firebase.
Cocoapods I installed it but I can't update the library. I create the Podfile after which I open it Add Firebase pod ...
pod install.
does not download the library and gives me.
Library / roby / gem /..../ .. Library / roby / gem /..../ ..
Library / roby / gem /..../ ..
and it doesn't sacrifice anything the only thing it does is create a folder with 3 other wanted folders inside
could you send me the error that was shown to you?
@@i-swift I have already solved
commands change
github.com/CocoaPods/CocoaPods/issues/10723
First!