Apple platformları ve Firebase için sorun giderme ve SSS
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu sayfada, Firebase'i kullanırken karşılaşabileceğiniz Apple platformuna özgü sorunlarla ilgili ipuçları ve sorun giderme bilgileri verilmektedir.
Başka sorunlar mı yaşıyorsunuz veya sorununuz aşağıda açıklanmıyor mu? Firebase'in geneliyle veya ürünlere özel SSS'ler için ana Firebase SSS bölümüne göz atmayı unutmayın.
Bildirilen sorunların ve sorun giderme adımlarının güncel listesi için Firebase Apple platformları SDK'sı GitHub deposuna da göz atabilirsiniz. Firebase Apple platformları SDK'sı ile ilgili sorunlarınızı da bu sayfada paylaşmanızı öneririz.
Firebase hangi Xcode sürümlerini destekler?
Firebase, Apple'ın artık desteklemediği Xcode sürümleri hariç olmak üzere en fazla iki ana Xcode sürümünü destekler. Örneğin, Mart 2019'dan itibaren Apple, tüm uygulamalarda en az iOS 12'nin kullanılmasını zorunlu kıldı. Bu nedenle, Xcode 9 desteği sonlandırıldı ve desteklenen tek ana sürüm Xcode 10 oldu.
Uygulamam, macOS'te Anahtar Zinciri öğelerine erişmek için kullanıcıdan şifresini girmesini istiyor. Bu durumu nasıl düzeltebilirim?
Firebase bağımlılığınızı 9.6.0 veya daha yeni bir sürüme yükseltin ve hedefinize [anahtar zinciri paylaşımı özelliğini](/docs/ios/troubleshooting-faq#macos-keychain-sharing) ekleyin.
Firebase neden macOS'te Anahtar Zinciri Paylaşımı özelliğini gerektiriyor?
Firebase SDK'ları, FCM için kullanılan Firebase yükleme kimliği gibi bilgileri depolamak üzere anahtar zincirini kullanır. Anahtar zinciri erişimi olmadan Firebase SDK'ları düzgün çalışmayabilir. macOS anahtar zinciri, diğer platformlarda (iOS, tvOS, macCatalyst ve watchOS) kullanılan iOS tarzı anahtar zincirinden farklı şekilde çalışır.
macOS'te uygulamalar, diğer uygulamalar ve işlemler tarafından değiştirilebilen paylaşılan bir anahtarlık kullanır. iOS'in aksine, uygulamanın örtülü erişime sahip olduğu korumalı alan anahtar zinciri yoktur. Bu nedenle, bir Mac uygulaması anahtar zinciriyle etkileşim kurduğunda sistem, kullanıcının oluşturmadığı bir anahtar zinciri öğesini değiştirebileceği için erişim izni ister. Bu tutarsızlığı gidermek için Firebase, kSecUseDataProtectionKeychain anahtarıyla anahtar zincirine sorgu gönderir. Bu sorgu, uygulamaya bir anahtar zinciri erişim grubunun parçası olan bir anahtar zinciri öğesini sorgulamasını söyler (bu, diğer platformlardaki varsayılan davranıştır). Uygulamanın hedefleri arasında paylaşılabilecek bir erişim grubu sentezlemek için Anahtar Zinciri Paylaşımı özelliği gereklidir. Bu sayede uygulamaya, erişim grubundaki anahtar zinciri öğelerine serbestçe erişme izni verilir.
Xcode'un 13 ve sonraki sürümlerinde, UIKit uygulamalarım neden Info.plist dosyamda kaydettiğim bazı URL'leri açamıyor?
Apple, Info.plist dosyalarında 50 LSApplicationQueriesSchemes
giriş sınırı getirdi. Apple, 2015'te her uygulamanın yapabileceği URL sorgularının sayısını sınırlamak için LSApplicationQueriesSchemes özelliğini kullanıma sundu. Xcode 13'ün yayınlanmasıyla bu sınırlar uygulanmaya başlandı. Xcode 12 ve önceki sürümlerde ise şema sayısıyla ilgili etkili bir sınır yoktu.
Firebase Authentication ve Firebase Dynamic Links gibi bazı Firebase ürünleri, uygulamanıza yönlendirmek için özel URL şemalarının kullanılmasını gerektirir. Bu URL'ler, 50 bağlantı şeması sınırına önemli ölçüde dahil edilmemesi gereken kısa ve tutarlı bir URL şemasına uygundur.
50'den fazla LSApplicationQueriesSchemes kaydetmeye devam eden uygulamalarda bazı şemaların sessizce yoksayılacağını unutmayın. Uygulama, eklenme sırasına bağlı olarak belirli derin bağlantıları yürütemeyebilir.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-09-05 UTC."],[],[],null,["\u003cbr /\u003e\n\nThis page offers tips and troubleshooting for Apple platform-specific issues\nthat you might encounter when using Firebase.\n\nHave other challenges or don't see your issue outlined below? Make sure to check\nout the [main Firebase FAQ](/support/faq) for more pan-Firebase or\nproduct-specific FAQ.\n\nYou can also check out the\n[Firebase Apple platforms SDK GitHub repo](https://github.com/firebase/firebase-ios-sdk/issues)\nfor an up-to-date list of reported issues and troubleshooting. We encourage you\nto file your own Firebase Apple platforms SDK related issues there, too! \n\nWhat versions of Xcode does Firebase support?\n\nFirebase supports up to two major versions of Xcode, not including versions\nof Xcode that Apple no longer supports. For example, starting in March 2019,\nApple required at least iOS 12 on all apps, meaning Xcode 9 support was\ndropped and Xcode 10 was the only major version supported.\n\nChanges to support for specific minor or patch versions of Xcode\n(for example, 9.2.0 to 9.4.1) are determined based on the needs of the\nFirebase Apple platforms SDK and a survey of developer usage. These changes\nare reflected in the\n[Firebase Apple platforms SDK release notes](/support/release-notes/ios)\nand on the [Firebase Apple platforms SDK setup page](/docs/ios/setup).\n\nTo see the minimum Xcode version supported by the SDK, check\nthe requirements listed in\n[Add Firebase to your Apple project](/docs/ios/setup).\n\nFirebase support for Beta releases of Xcode is available on a \"best effort\"\nbasis. Developers can track and submit issues in the\n[Firebase Apple platforms SDK repository on GitHub](//github.com/firebase/firebase-ios-sdk/issues). \n\nMy app prompts the user for their password to access Keychain items on macOS. How do I fix this?\n\nUpgrade your Firebase dependency to version 9.6.0 or higher and add the\n\\[Keychain Sharing capability\\](/docs/ios/troubleshooting-faq#macos-keychain-sharing)\nto your target. \n\nWhy does Firebase require the Keychain Sharing capability on macOS?\n\nFirebase SDKs use keychain to store information like the Firebase\ninstallation ID used for FCM. Without Keychain access, Firebase SDKs may not\nfunction correctly. The macOS keychain behaves differently than the iOS-style\nkeychain that is used on other platforms (iOS, tvOS, macCatalyst,\nand watchOS).\n\nOn macOS, apps use a shared keychain that may be modified by other apps and\nprocesses. Unlike iOS, there is no sandboxed keychain that the app has\nimplicit access to. So, when a Mac app interacts with the keychain, the system\nprompts the user for access since the Mac app may be modifying a keychain item\nthat it did not create. To address this discrepancy, Firebase queries the\nkeychain with the `kSecUseDataProtectionKeychain` key, which tells\nthe app to query a keychain item that is part of a keychain access group\n(this is default behavior on other platforms). The Keychain Sharing capability\nis required because the app needs it to synthesize an access group that can be\nshared amongst its targets, thus giving permission for the app to freely\naccess keychain items in the access group.\n\nFor more information, see Apple's\n[Keychain documentation](https://developer.apple.com/documentation/security/keychain_services/keychains). \n\nIn Xcode versions 13 and later, why can my UIKit apps not open some\nURLs I've registered\nin my Info.plist?\n\nApple introduced a limit of 50 `LSApplicationQueriesSchemes`\nentries in `Info.plist` files. In 2015, Apple introduced\n`LSApplicationQueriesSchemes` to limit the number of URL queries\neach app could make. With the release of Xcode 13, these limits are enforced,\nwhile in Xcode 12 and earlier there was no effective limit to the number of\nschemes.\n\nSome Firebase products, like Firebase Authentication and Firebase Dynamic Links,\nrequire the use of custom URL schemes to redirect to your application. These\nURLs conform to a concise and consistent URL scheme that should not count\nsignificantly against the 50 link scheme limit.\n\nNote that for apps that continue to register more than 50\n`LSApplicationQueriesSchemes`, some schemes will\nbe silently ignored. The app may be unable to execute certain deeplinks,\ndepending on the order in which they are added."]]