1 Şubat, 2021 YAYINLANDI
Flutter, React Native ile veya native olarak iOS uygulaması geliştirirken firebase kurulumunda problemler çok yaşanıyor. Geneli podfile dosyasından kaynaklı çıkıyor.
Cocoapods could not find compatible versions for pod “firebase_core”: hatasını çözmek için biraz uğraştım. Sıfır proje oluşturup bile denemişliğim var. Sizinde vaktini çalmasın diye çözümü paylaşıyorum.
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
-> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
-> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
-> Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
Resolving dependencies of `Podfile`
[!] CocoaPods could not find compatible versions for pod "Firebase/Core":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
Firebase/Core
Yukarıdaki işlemleri yaptığınızda yüksek ihtimalle sorun çözülecek ve hata almayacaksınız. Hatası kodlar dileğiyle diyip yazıyı sonlandıralım.